1 | ;
|
2 |
|
3 | if (typeof jest !== 'undefined' && typeof window !== 'undefined') {
|
4 | console.warn('Mongoose: looks like you\'re trying to test a Mongoose app ' +
|
5 | 'with Jest\'s default jsdom test environment. Please make sure you read ' +
|
6 | 'Mongoose\'s docs on configuring Jest to test Node.js apps: ' +
|
7 | 'http://mongoosejs.com/docs/jest.html');
|
8 | } |
\ | No newline at end of file |