Skip to content

Commit

Permalink
convert new test in options.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 30, 2018
1 parent da9ef44 commit eb27bf7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/integration/options.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@ describe('options', function() {
done(err);
return;
}
assert.equal(res.stats.pending, 0);
assert.equal(res.stats.passes, 0);
assert.equal(res.stats.failures, 1);

assert.equal(res.failures[0].title, '"before all" hook');
assert.equal(res.code, 1);
expect(res, 'to have failed')
.and('to have failed test count', 1)
.and('to have failed test', '"before all" hook');
done();
});
});
Expand Down

0 comments on commit eb27bf7

Please sign in to comment.