Skip to content

Commit

Permalink
Updated packages, removed unused packages, removed ecmaVersion from e…
Browse files Browse the repository at this point in the history
…slint config.
  • Loading branch information
mikehodgson committed May 5, 2024
1 parent bbb769f commit 7de216c
Show file tree
Hide file tree
Showing 6 changed files with 501 additions and 477 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@
"files": ["cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}"],
"extends": ["plugin:cypress/recommended"]
}
],
"parserOptions": {
"ecmaVersion": "latest"
}
]
}
30 changes: 15 additions & 15 deletions __tests__/stores/useBookCollectionStore.test.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { it, describe, expect, beforeEach } from "vitest";

import { useBookCollectionStore } from "@/stores/useBookCollectionStore";
import { createPinia, setActivePinia } from "pinia";

beforeEach(() => {
setActivePinia(createPinia());
});

describe("useBookCollectionStore store", () => {
it("should have the name bookCollection", () => {
const bookCollection = useBookCollectionStore();
expect(bookCollection.$id).toEqual("bookCollection");
});
});
import { it, describe, expect, beforeEach } from "vitest";

import { useBookCollectionStore } from "@/stores/useBookCollectionStore";
import { createPinia, setActivePinia } from "pinia";

beforeEach(() => {
setActivePinia(createPinia());
});

describe("useBookCollectionStore store", () => {
it("should have the name bookCollection", () => {
const bookCollection = useBookCollectionStore();
expect(bookCollection.$id).toEqual("bookCollection");
});
});
Loading

0 comments on commit 7de216c

Please sign in to comment.