Skip to content

Commit 98050b4

Browse files
committed
spy
1 parent 8a161df commit 98050b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/schemas.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,8 +3842,7 @@ describe('schemas', () => {
38423842
});
38433843

38443844
it_id('cbd5d897-b938-43a4-8f5a-5d02dd2be9be')(it_exclude_dbs(['postgres']))('cannot update to duplicate value on unique index', done => {
3845-
const logger = require('../lib/logger').default;
3846-
const loggerErrorSpy = spyOn(logger, 'error').and.callThrough();
3845+
loggerErrorSpy.calls.reset();
38473846
const index = {
38483847
code: 1,
38493848
};

0 commit comments

Comments
 (0)