Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
inikulin committed Jan 3, 2017
1 parent 84c88a2 commit 42969f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('[API] beforeEach/afterEach hooks', function () {
return runTests('./testcafe-fixtures/fail-in-before-each.js', 'Test', { shouldFail: true, only: 'chrome' })
.catch(function (errs) {
expect(errs[0].indexOf(
'- Error in beforeEach hook - ' +
'- Error in fixture.beforeEach hook - ' +
'Error on page "http://localhost:3000/fixtures/api/es-next/before-after-each-hooks/pages/index.html": ' +
'Uncaught Error: [beforeEach]'
)).eql(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('[Raw API] beforeEach/afterEach hooks', function () {
.catch(function (errs) {

expect(errs[0]).contains(
'- Error in beforeEach hook - ' +
'- Error in fixture.beforeEach hook - ' +
'Error on page "http://localhost:3000/fixtures/api/raw/before-after-each-hooks/pages/index.html": ' +
'Uncaught Error: [beforeEach]'
);
Expand Down

0 comments on commit 42969f8

Please sign in to comment.