Skip to content

Commit

Permalink
💚 ci: fix test (#106)
Browse files Browse the repository at this point in the history
* 💚 ci: fix test

* 💚 ci: fix test

* 💚 ci: fix test
  • Loading branch information
arvinxx committed Feb 19, 2024
1 parent ab749a2 commit 53d191c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"include": ["src", "tests", ".dumi/**/*", "typings", "example/.dumirc.ts", "*.ts"],
"include": ["src", "tests", "typings", "example/.dumirc.ts", "*.ts"],
"compilerOptions": {
"strict": true,
"declaration": true,
"module": "ESNext",
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"moduleResolution": "Node",
"jsx": "react-jsx",
"types": ["vitest/globals"],
"baseUrl": ".",
Expand Down
5 changes: 3 additions & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ export default defineConfig({
environment: 'jsdom',
globals: true,
alias: {
'@': './src',
[name]: './src',
'@': new URL('./src/', import.meta.url).pathname,
[name]: new URL('./src/', import.meta.url).pathname,
},
coverage: {
all: false,
reporter: ['text', 'text-summary', 'json', 'lcov'],
},
},
Expand Down

0 comments on commit 53d191c

Please sign in to comment.