Skip to content

Commit

Permalink
add the explaination about verify command
Browse files Browse the repository at this point in the history
  • Loading branch information
To-Ki-O committed Mar 25, 2023
1 parent cf7c2a1 commit 6ba676a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@ $ dim list
$ dim list -s
```

## [Verify](doc/en/verify.md)

Verify the data

```
$ dim verify
```

## [Update](doc/en/update.md)

Update the all data.
Expand Down
12 changes: 0 additions & 12 deletions tests/libs/actions.verify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,17 @@ import { createKyGetStub, removeTemporaryFiles, temporaryDirectory } from "../he

describe("VerifyAction", () => {
let consoleLogStub: Stub;
let consoleErrorStub: Stub;
let denoExitStub: Stub;
let denoStdoutStub: Stub;
let fakeTime: FakeTime;
let originalDirectory: string;
let originalOS: "darwin" | "linux" | "windows";

beforeEach(() => {
consoleLogStub = stub(console, "log");
consoleErrorStub = stub(console, "error");
denoExitStub = stub(Deno, "exit");
denoStdoutStub = stub(Deno.stdout, "write");
fakeTime = new FakeTime("2022-01-02T03:04:05.678Z");
originalDirectory = Deno.cwd();
Deno.chdir(temporaryDirectory);
});

afterEach(() => {
removeTemporaryFiles();
fakeTime.restore();
denoStdoutStub.restore();
denoExitStub.restore();
consoleErrorStub.restore();
consoleLogStub.restore();
DenoWrapper.build.os = originalOS;
Deno.chdir(originalDirectory);
Expand Down

0 comments on commit 6ba676a

Please sign in to comment.