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 = {
15
15
restoreMocks : true ,
16
16
} ;
17
17
18
- // Jest-Playwrigth Config
19
- process . env . JEST_PLAYWRIGHT_CONFIG = './test/config/jest-playwright.config.js' ;
20
-
21
18
module . exports = {
22
19
// Adding globals to config root for easier importing into .eslint.js, but
23
20
// as of Jest 26.4.2 these globals need to be added to each project config
@@ -48,6 +45,20 @@ module.exports = {
48
45
setupFilesAfterEnv : [
49
46
'<rootDir>/test/config/jest-playwright.setup-tests.js' ,
50
47
] ,
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
+ } ,
51
62
testMatch : [ '<rootDir>/test/e2e/*.test.js' ] ,
52
63
} ,
53
64
] ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments