File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ const sharedConfig = {
1515 restoreMocks : true ,
1616} ;
1717
18- // Jest-Playwrigth Config
19- process . env . JEST_PLAYWRIGHT_CONFIG = './test/config/jest-playwright.config.js' ;
20-
2118module . exports = {
2219 // Adding globals to config root for easier importing into .eslint.js, but
2320 // as of Jest 26.4.2 these globals need to be added to each project config
@@ -48,6 +45,20 @@ module.exports = {
4845 setupFilesAfterEnv : [
4946 '<rootDir>/test/config/jest-playwright.setup-tests.js' ,
5047 ] ,
48+ testEnvironmentOptions : {
49+ 'jest-playwright' : {
50+ // prettier-ignore
51+ browsers : [
52+ 'chromium' ,
53+ 'firefox' ,
54+ 'webkit' ,
55+ ] ,
56+ launchOptions : {
57+ // headless: false,
58+ // devtools: true,
59+ } ,
60+ } ,
61+ } ,
5162 testMatch : [ '<rootDir>/test/e2e/*.test.js' ] ,
5263 } ,
5364 ] ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments