Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 7045760

Browse files
committed
Add e2e test using data-provider in webpage, to check possible conflicts
1 parent 06febbf commit 7045760

File tree

10 files changed

+4879
-4
lines changed

10 files changed

+4879
-4
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
"main": "index.js",
2828
"scripts": {
2929
"coveralls": "cat ./coverage/lcov.info | coveralls",
30-
"lint": "eslint src test index.js jest.config.js test-e2e/cypress test-e2e/mocks test-e2e/app-fetch/public",
30+
"lint": "eslint src test index.js jest.config.js test-e2e/cypress test-e2e/mocks test-e2e/app-fetch/public test-e2e/app-data-provider/src test-e2e/app-data-provider/webpack.config.js",
3131
"lint-staged": "lint-staged",
3232
"test": "jest",
33-
"test-e2e": "cd test-e2e && npm run test:app-fetch",
34-
"test-e2e:ci": "cd test-e2e && npm i && npm run cypress:install && cd app-fetch && npm i && cd .. && npm run test:app-fetch"
33+
"test-e2e": "cd test-e2e && npm run test:ci",
34+
"test-e2e:ci": "cd test-e2e && npm i && npm run apps:install && npm run test:ci"
3535
},
3636
"dependencies": {
3737
"@data-provider/core": "^1.7.0",
@@ -53,6 +53,8 @@
5353
"cypress": "^2.1.0 || ^3.0.0"
5454
},
5555
"lint-staged": {
56+
"test-e2e/app-data-provider/*.js": "eslint",
57+
"test-e2e/app-data-provider/src/*.js": "eslint",
5658
"test-e2e/app-fetch/public/*.js": "eslint",
5759
"test-e2e/mocks/**/*.js": "eslint",
5860
"test-e2e/cypress/**/*.js": "eslint",
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
#environment variables
4+
.env
5+
6+
# dependencies
7+
/node_modules
8+
9+
# tests
10+
/coverage
11+
/public/main.js
12+
13+
# misc
14+
.DS_Store
15+
.env.local
16+
.env.development.local
17+
.env.test.local
18+
.env.production.local
19+
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*
23+
24+
# ides
25+
.idea
26+
.vs

0 commit comments

Comments
 (0)