From 86681d17046f56badb8f6c394eeb148ee5c1ce30 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Sat, 7 Apr 2018 15:42:29 -0700 Subject: [PATCH] fix assertions Signed-off-by: Christopher Hiller --- test/reporters/tap.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/reporters/tap.spec.js b/test/reporters/tap.spec.js index 9faadbda71..9b7eac9491 100644 --- a/test/reporters/tap.spec.js +++ b/test/reporters/tap.spec.js @@ -112,7 +112,7 @@ describe('TAP reporter', function () { 'not ok ' + countAfterTestEnd + ' ' + expectedTitle + '\n', ' ' + expectedErrorMessage + '\n' ]; - stdout.should.deepEqual(expectedArray); + expect(stdout).to.eql(expectedArray); }); }); describe('if there is an error stack', function () { @@ -170,7 +170,7 @@ describe('TAP reporter', function () { ' ' + expectedErrorMessage + '\n', ' ' + expectedStack + '\n' ]; - stdout.should.deepEqual(expectedArray); + expect(stdout).to.eql(expectedArray); }); }); describe('if there is no error stack or error message', function () {