Skip to content

Commit

Permalink
convert test/unit/hook-async.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 6ec01eb commit 6d6b632
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit/hook-async.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('async', function () {

after(function () {
calls.push('root after all');
expect(calls).to.eql([
expect(calls, 'to equal', [
'root before all',
'before all',
'parent before',
Expand Down Expand Up @@ -67,7 +67,7 @@ describe('async', function () {
});

it('one', function (done) {
expect(calls).to.eql([
expect(calls, 'to equal', [
'root before all',
'before all',
'parent before',
Expand All @@ -79,7 +79,7 @@ describe('async', function () {
});

it('two', function () {
expect(calls).to.eql([
expect(calls, 'to equal', [
'root before all',
'before all',
'parent before',
Expand All @@ -97,7 +97,7 @@ describe('async', function () {
});

it('three', function () {
expect(calls).to.eql([
expect(calls, 'to equal', [
'root before all',
'before all',
'parent before',
Expand Down

0 comments on commit 6d6b632

Please sign in to comment.