Skip to content

Commit

Permalink
convert test/unit/root.spec.js to unexpected
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
  • Loading branch information
boneskull committed Apr 21, 2018
1 parent 13a9e24 commit 7aa9b82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/unit/root.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ before(function () {

describe('root', function () {
it('should be a valid suite', function () {
expect(calls).to.eql(['before']);
expect(calls, 'to equal', ['before']);
});
});
6 changes: 3 additions & 3 deletions test/unit/runnable.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ describe('Runnable(title, fn)', function () {
});
// runner sets the state
test.run(function () {
expect(test.isFailed()).not.to.be.ok();
expect(test.isFailed(), 'not to be ok');
});
});

Expand All @@ -502,7 +502,7 @@ describe('Runnable(title, fn)', function () {
// runner sets the state
test.state = 'failed';
test.run(function () {
expect(test.isFailed()).to.be.ok();
expect(test.isFailed(), 'not to be ok');
});
});

Expand All @@ -514,7 +514,7 @@ describe('Runnable(title, fn)', function () {
return true;
};
test.run(function () {
expect(test.isFailed()).not.to.be.ok();
expect(test.isFailed(), 'not to be ok');
});
});
});
Expand Down

0 comments on commit 7aa9b82

Please sign in to comment.