feat: `onComplete` config option (#4322)
* feat: `onComplete` config option * tests(e2e): add case for onComplete option
Showing
... | ... | @@ -37,7 +37,8 @@ |
"test-e2e": "sleep 3 && nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json", | ||
"e2e-initial-render": "nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json --group initial-render", | ||
"mock-api": "json-server --watch test/e2e/db.json --port 3204", | ||
"e2e": "npm-run-all --parallel -r hot-server mock-api test-e2e" | ||
"hot-e2e-server": "webpack-dev-server --content-base test/e2e/helpers --host 0.0.0.0 --config webpack-hot-dev-server.config.js --inline --hot --progress", | ||
"e2e": "npm-run-all --parallel -r hot-e2e-server mock-api test-e2e" | ||
}, | ||
"dependencies": { | ||
"@braintree/sanitize-url": "^2.0.2", | ||
... | ... |
test/e2e/helpers/index.html
0 → 100644
test/e2e/scenarios/on-complete.js
0 → 100644
想要评论请 注册 或 登录