File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,15 @@ if (typeof jest !== 'undefined' && !process.env.SUPPRESS_JEST_WARNINGS) {
7
7
utils . warn ( 'Mongoose: looks like you\'re trying to test a Mongoose app ' +
8
8
'with Jest\'s default jsdom test environment. Please make sure you read ' +
9
9
'Mongoose\'s docs on configuring Jest to test Node.js apps: ' +
10
- 'https://mongoosejs.com/docs/jest.html' ) ;
10
+ 'https://mongoosejs.com/docs/jest.html. Set the SUPPRESS_JEST_WARNINGS to true ' +
11
+ 'to hide this warning.' ) ;
11
12
}
12
13
13
14
if ( setTimeout . clock != null && typeof setTimeout . clock . Date === 'function' ) {
14
15
utils . warn ( 'Mongoose: looks like you\'re trying to test a Mongoose app ' +
15
16
'with Jest\'s mock timers enabled. Please make sure you read ' +
16
17
'Mongoose\'s docs on configuring Jest to test Node.js apps: ' +
17
- 'https://mongoosejs.com/docs/jest.html' ) ;
18
+ 'https://mongoosejs.com/docs/jest.html. Set the SUPPRESS_JEST_WARNINGS to true ' +
19
+ 'to hide this warning.' ) ;
18
20
}
19
21
}
You can’t perform that action at this time.
0 commit comments