Skip to content

Commit 0a0529b

Browse files
shailee-mbrylie
authored andcommitted
[#366] updating failing test cases due to wrong references or missing dependencies
1 parent 57f3a71 commit 0a0529b

File tree

6 files changed

+724
-169
lines changed

6 files changed

+724
-169
lines changed

.babelrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44
"targets": { "node": "10" }
55
} ]
66
],
7-
"plugins": [ "@babel/plugin-transform-modules-commonjs" ]
7+
"plugins": [ "@babel/plugin-transform-modules-commonjs" ],
8+
"env": {
9+
"test": {
10+
"plugins": ["transform-require-context"]
11+
}
12+
}
813
}

cypress.json

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"project": "creativecommons-chooser",
33
"baseUrl": "http://localhost:8080/",
44
"integrationFolder": "tests/cypress/integration/",
5+
"chromeWebSecurity": false,
6+
"includeShadowDom": true,
57
"fixturesFolder": "tests/cypress/fixtures",
68
"pluginsFile": "tests/cypress/plugins/index.js",
79
"supportFile": "tests/cypress/support/index.js"

0 commit comments

Comments
 (0)