got to a stable point again. next up is comming up with a decent API for modifications
This commit is contained in:
parent
4fb7405466
commit
fc22ce6027
19 changed files with 498 additions and 375 deletions
|
@ -28,7 +28,7 @@ export default defineConfig({
|
|||
provider: 'istanbul',
|
||||
reportsDirectory: './.coverage',
|
||||
all: false,
|
||||
},
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -39,6 +39,12 @@ function reportWith(...reporter: CoverageReporter[]): Plugin {
|
|||
config(userConf, env) {
|
||||
if (userConf.test) {
|
||||
userConf.test.coverage = { ...userConf.test.coverage, reporter } as CoverageV8Options;
|
||||
userConf.test.browser = {
|
||||
provider: 'playwright',
|
||||
enabled: true,
|
||||
headless: true,
|
||||
instances: [{ browser: 'chromium' }]
|
||||
};
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue