Skip to content

Commit

Permalink
🚑 fix: testの修正忘れを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ivgtr committed Jun 23, 2021
1 parent 2db8205 commit e9f1a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions tests/__tests__/commands/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@ describe("src/command/config.ts", () => {
describe("a3 config", () => {
it("a3 config", async () => {
const result = await config({ db });
expect(result).to.have.all.keys(
"github_id",
"github_email",
"github_repository",
"user_id",
"archive_dir"
);
expect(result).to.have.all.keys("github_id", "github_email", "user_id", "archive_dir");
});
it("a3 config user.id hoge", async () => {
const userId = "hoge";
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/databaseService.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Config, RegistarConfig } from "../../src/types/DatabaseService";

const INITIAL_CONFIG_STATE: { config: Config } = {
config: { user_id: "", archive_dir: "", github_email: "", github_id: "", github_repository: "" },
config: { user_id: "", archive_dir: "", github_email: "", github_id: "" },
};

export class DbService {
Expand Down

0 comments on commit e9f1a9c

Please sign in to comment.