File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
packages/selenium-side-runner Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2626 "dependencies" : {
2727 "commander" : " ^2.12.2" ,
2828 "jest" : " ^23.0.0-alpha.7" ,
29- "jest-environment-selenium" : " ^0.1 .0" ,
29+ "jest-environment-selenium" : " ^0.2 .0" ,
3030 "js-beautify" : " ^1.7.5" ,
3131 "js-yaml" : " ^3.10.0" ,
3232 "rimraf" : " ^2.6.2" ,
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ function runProject(project) {
106106 const child = fork ( require . resolve ( "./child" ) , [
107107 "--testEnvironment" , "jest-environment-selenium" ,
108108 "--setupTestFrameworkScriptFile" , require . resolve ( "jest-environment-selenium/dist/setup.js" ) ,
109+ "--testEnvironmentOptions" , JSON . stringify ( configuration ) ,
109110 "--modulePaths" , path . join ( __dirname , "../node_modules" ) ,
110111 "--testMatch" , "**/*.test.js"
111112 ] . concat ( program . filter ? [ "-t" , program . filter ] : [ ] )
@@ -139,7 +140,6 @@ function writeJSFile(name, data) {
139140 fs . writeFileSync ( `${ name } .test.js` , beautify ( data , { indent_size : 2 } ) ) ;
140141}
141142
142- process . env . configuration = JSON . stringify ( configuration ) ;
143143const projects = program . args . map ( p => JSON . parse ( fs . readFileSync ( p ) ) ) ;
144144
145145runAll ( projects ) ;
Original file line number Diff line number Diff line change @@ -1854,9 +1854,9 @@ jest-environment-node@^23.0.0-beta.1:
18541854 jest-mock "^23.0.0-beta.1"
18551855 jest-util "^23.0.0-beta.1"
18561856
1857- jest-environment-selenium@^0.1 .0 :
1858- version "0.1 .0"
1859- resolved "https://registry.yarnpkg.com/jest-environment-selenium/-/jest-environment-selenium-0.1 .0.tgz#41a90c2bced748d786984bf52ba32f73241448ec "
1857+ jest-environment-selenium@^0.2 .0 :
1858+ version "0.2 .0"
1859+ resolved "https://registry.yarnpkg.com/jest-environment-selenium/-/jest-environment-selenium-0.2 .0.tgz#32c4c6abe1c8be1d6b4f7ff5651527e2d4904736 "
18601860 dependencies :
18611861 jest-environment-node "^22.4.3"
18621862 selenium-webdriver "^3.6.0"
You can’t perform that action at this time.
0 commit comments