Skip to content
Snippets Groups Projects
Verified Commit 1df56527 authored by Loïs Poujade's avatar Loïs Poujade
Browse files

Merge branch '3-integrate-upstream-tests' into Add-img-annotation-insert-edit

parents dc014d05 0201aaac
Branches
No related tags found
No related merge requests found
...@@ -5,4 +5,3 @@ ...@@ -5,4 +5,3 @@
/node_modules /node_modules
/umd /umd
npm-debug.log* npm-debug.log*
package-lock.json
upstream_tests:
image: docker.io/node:current
before_script:
- npm ci
script:
- npm run test:ci
artifacts:
when: always
paths:
- junit.xml
reports:
junit: junit.xml
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"start": "nwb serve-react-demo", "start": "nwb serve-react-demo",
"test": "npm run lint && jest", "test": "npm run lint && jest",
"test:coverage": "jest --coverage", "test:coverage": "jest --coverage",
"test:watch": "jest --watch" "test:watch": "jest --watch",
"test:ci": "jest --ci --reporters=default --reporters=jest-junit --watchAll=false"
}, },
"dependencies": { "dependencies": {
"@psychobolt/react-paperjs": "< 1.0", "@psychobolt/react-paperjs": "< 1.0",
...@@ -35,7 +36,7 @@ ...@@ -35,7 +36,7 @@
"@material-ui/icons": "^4.9.1", "@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.52", "@material-ui/lab": "^4.0.0-alpha.52",
"lodash": "^4.17.11", "lodash": "^4.17.11",
"mirador": "^3.0.0-rc.5", "mirador": "git+https://gitlab.tetras-libre.fr/iiif/mirador-video-annotation#annotation-on-video",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react": "^16.8", "react": "^16.8",
"react-dom": "^16.8", "react-dom": "^16.8",
...@@ -51,6 +52,7 @@ ...@@ -51,6 +52,7 @@
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"canvas": "^2.6.1", "canvas": "^2.6.1",
"enzyme": "^3.11.0", "enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.2", "eslint": "^7.2",
"eslint-config-airbnb": "^18.2.0", "eslint-config-airbnb": "^18.2.0",
"eslint-plugin-flowtype": "^5.6.0", "eslint-plugin-flowtype": "^5.6.0",
...@@ -60,8 +62,9 @@ ...@@ -60,8 +62,9 @@
"eslint-plugin-react": "^7.20.3", "eslint-plugin-react": "^7.20.3",
"jest": "^26.1.0", "jest": "^26.1.0",
"jest-canvas-mock": "^2.2.0", "jest-canvas-mock": "^2.2.0",
"jest-junit": "^15.0.0",
"jest-localstorage-mock": "^2.4.2", "jest-localstorage-mock": "^2.4.2",
"mirador": "^3.0.0-rc.5", "mirador": "git+https://gitlab.tetras-libre.fr/iiif/mirador-video-annotation#annotation-on-video",
"nwb": "^0.24.7", "nwb": "^0.24.7",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react": "^16.8", "react": "^16.8",
......
import Enzyme from 'enzyme'; // eslint-disable-line import/no-extraneous-dependencies import Enzyme from 'enzyme'; // eslint-disable-line import/no-extraneous-dependencies
import Adapter from 'enzyme-adapter-react-16'; // eslint-disable-line import/no-extraneous-dependencies
Enzyme.configure({ adapter: new Adapter() }); Enzyme.configure({ adapter: new Adapter() });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment