Replace assert.equal() by assert.strictEqual()

This commit is contained in:
Daniel García Aubert
2019-10-21 19:41:03 +02:00
parent 4d70ac0894
commit 1bee877b24
100 changed files with 1100 additions and 1100 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ beforeEach(function () {
});
// global afterEach to capture uncaught exceptions
afterEach(function () {
assert.equal(
assert.strictEqual(
uncaughtExceptions.length,
0,
'uncaughtException:\n\n' + uncaughtExceptions.map(err => err.stack).join('\n\n'));
@@ -129,7 +129,7 @@ afterEach(function (done) {
});
if (Object.keys(databasesTasks).length === 0) {
assert.equal(keysFound.length, 0, 'Unexpected keys found in redis: ' + keysFound.join(', '));
assert.strictEqual(keysFound.length, 0, 'Unexpected keys found in redis: ' + keysFound.join(', '));
done();
}
}