Skip to content

Commit

Permalink
test: fix canvas package for vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
trezy committed Jul 26, 2024
1 parent 3553e50 commit 1fda641
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"include": [
"test/**/*",
"rollup.config.mjs",
"vitest.config.js",
"vitest.config.ts",
"vitest.workspace.ts",
]
}
7 changes: 0 additions & 7 deletions vitest.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineConfig } from 'vitest/config';

export default defineConfig({});
11 changes: 11 additions & 0 deletions vitest.workspace.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineWorkspace } from 'vitest/config';

export default defineWorkspace([
{
test: {
environment: 'jsdom',
include: ['test/unit/**/*.test.ts'],
pool: 'forks',
},
},
]);

0 comments on commit 1fda641

Please sign in to comment.