Skip to content

Commit

Permalink
[creativecommons#366] updating failing test cases due to wrong refere…
Browse files Browse the repository at this point in the history
…nces or missing dependencies
  • Loading branch information
shailee-m authored and brylie committed Jan 26, 2022
1 parent 57f3a71 commit 0a0529b
Show file tree
Hide file tree
Showing 6 changed files with 724 additions and 169 deletions.
7 changes: 6 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
"targets": { "node": "10" }
} ]
],
"plugins": [ "@babel/plugin-transform-modules-commonjs" ]
"plugins": [ "@babel/plugin-transform-modules-commonjs" ],
"env": {
"test": {
"plugins": ["transform-require-context"]
}
}
}
2 changes: 2 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"project": "creativecommons-chooser",
"baseUrl": "http://localhost:8080/",
"integrationFolder": "tests/cypress/integration/",
"chromeWebSecurity": false,
"includeShadowDom": true,
"fixturesFolder": "tests/cypress/fixtures",
"pluginsFile": "tests/cypress/plugins/index.js",
"supportFile": "tests/cypress/support/index.js"
Expand Down
Loading

0 comments on commit 0a0529b

Please sign in to comment.