Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
oshi97 committed May 12, 2021
1 parent 10b8125 commit a4abb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ runTests(argv.browsers);
async function runTests (browsers) {
const testcafe = await createTestCafe();
try {
const result = await testcafe.createRunner()
const numberTestsFailed = await testcafe.createRunner()
.src('tests/acceptance/suites/*.js')
.browsers(browsers)
.startApp(`npx serve -p ${PORT} test-site/public`, 4000)
.run({ quarantineMode: true });
if (result > 0) {
if (numberTestsFailed > 0) {
process.exit(1);
}
}
Expand Down

0 comments on commit a4abb5e

Please sign in to comment.