Replace assert.equal() by assert.strictEqual()
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user