mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
chore: use github test reporter on CI and fix TS error (#3015)
This commit is contained in:
parent
ae32ca6bee
commit
c9330941c8
@ -16,12 +16,13 @@ export default defineConfig({
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
dir: 'tests',
|
||||
reporters: 'basic',
|
||||
reporters: process.env.GITHUB_ACTIONS ? ['default', 'github-actions'] : ['default'],
|
||||
setupFiles: ['tests/setup.ts'],
|
||||
coverage: {
|
||||
include: ['src/**/'],
|
||||
reporter: ['text', 'json', 'html', 'text-summary'],
|
||||
reportsDirectory: './coverage/',
|
||||
provider: 'v8',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user