generated from nhcarrigan/template
chore: lint build test
This commit is contained in:
@@ -17,10 +17,11 @@ describe("book Types", () => {
|
||||
|
||||
it("should have all expected enum values", () => {
|
||||
const values = Object.values(BookStatus);
|
||||
expect(values).toHaveLength(3);
|
||||
expect(values).toHaveLength(4);
|
||||
expect(values).toContain("READING");
|
||||
expect(values).toContain("FINISHED");
|
||||
expect(values).toContain("TO_READ");
|
||||
expect(values).toContain("RETIRED");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -17,10 +17,11 @@ describe("game Types", () => {
|
||||
|
||||
it("should have all expected enum values", () => {
|
||||
const values = Object.values(GameStatus);
|
||||
expect(values).toHaveLength(3);
|
||||
expect(values).toHaveLength(4);
|
||||
expect(values).toContain("PLAYING");
|
||||
expect(values).toContain("COMPLETED");
|
||||
expect(values).toContain("BACKLOG");
|
||||
expect(values).toContain("RETIRED");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -17,10 +17,11 @@ describe("manga Types", () => {
|
||||
|
||||
it("should have all expected enum values", () => {
|
||||
const values = Object.values(MangaStatus);
|
||||
expect(values).toHaveLength(3);
|
||||
expect(values).toHaveLength(4);
|
||||
expect(values).toContain("READING");
|
||||
expect(values).toContain("COMPLETED");
|
||||
expect(values).toContain("WANT_TO_READ");
|
||||
expect(values).toContain("RETIRED");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -33,10 +33,11 @@ describe("music Types", () => {
|
||||
|
||||
it("should have all expected enum values", () => {
|
||||
const values = Object.values(MusicStatus);
|
||||
expect(values).toHaveLength(3);
|
||||
expect(values).toHaveLength(4);
|
||||
expect(values).toContain("LISTENING");
|
||||
expect(values).toContain("COMPLETED");
|
||||
expect(values).toContain("WANT_TO_LISTEN");
|
||||
expect(values).toContain("RETIRED");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -35,10 +35,11 @@ describe("show Types", () => {
|
||||
|
||||
it("should have all expected enum values", () => {
|
||||
const values = Object.values(ShowStatus);
|
||||
expect(values).toHaveLength(3);
|
||||
expect(values).toHaveLength(4);
|
||||
expect(values).toContain("WATCHING");
|
||||
expect(values).toContain("COMPLETED");
|
||||
expect(values).toContain("WANT_TO_WATCH");
|
||||
expect(values).toContain("RETIRED");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user