mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ci): retry e2e demo site tests
This commit is contained in:
committed by
Łukasz Mierzwa
parent
7bd138477d
commit
210ed758ea
@@ -261,4 +261,4 @@ jobs:
|
||||
if: (repo = prymitive/karma AND type != pull_request) OR (fork = true AND type = pull_request)
|
||||
<<: *DEFAULTS_JS
|
||||
script:
|
||||
- make -C ui test-demo
|
||||
- travis_retry make -C ui test-demo
|
||||
|
||||
@@ -19,7 +19,7 @@ test-js: node_modules/jest/bin/jest.js
|
||||
|
||||
.PHONY: test-demo
|
||||
test-demo: node_modules/jest/bin/jest.js
|
||||
CI=true ./node_modules/.bin/jest --config e2e/jest.config.js --runInBand e2e/demo.test.js
|
||||
CI=true ./node_modules/.bin/jest --preset=jest-puppeteer --runInBand e2e/demo.test.js
|
||||
|
||||
.PHONY: test-percy
|
||||
test-percy: node_modules/@storybook/react/bin/build.js
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
module.exports = {
|
||||
preset: "jest-puppeteer",
|
||||
testRegex: "./*\\.test\\.js$",
|
||||
};
|
||||
Reference in New Issue
Block a user