fix(deps): update dependency discord.js to v14.16.3 #14145
Annotations
4 errors and 2 warnings
run tests using jest-jasmine:
e2e/__tests__/requireMissingExt.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `shows a proper error from deep requires 1`
- Snapshot - 28
+ Received + 2
- FAIL __tests__/test.js
- ● Test suite failed to run
-
- Cannot find module '../package' from 'node_modules/discord.js/src/index.js'
-
- Require stack:
- node_modules/discord.js/src/index.js
- __tests__/test.js
-
-
- However, Jest was able to find:
- '../package.json'
-
- You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js'].
-
- See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
-
- 8 | 'use strict';
- 9 |
- > 10 | require('discord.js');
- | ^
- 11 |
- 12 | test('dummy', () => {
- 13 | expect(1).toBe(1);
-
- at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:937:11)
- at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
- at Object.require (__tests__/test.js:10:1)
+ PASS __tests__/test.js
+ ✓ dummy
at Object.toMatchSnapshot (e2e/__tests__/requireMissingExt.test.ts:22:16)
|
run tests using jest-jasmine:
e2e/__tests__/requireMissingExt.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `shows a proper error from deep requires 1`
- Snapshot - 28
+ Received + 2
- FAIL __tests__/test.js
- ● Test suite failed to run
-
- Cannot find module '../package' from 'node_modules/discord.js/src/index.js'
-
- Require stack:
- node_modules/discord.js/src/index.js
- __tests__/test.js
-
-
- However, Jest was able to find:
- '../package.json'
-
- You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js'].
-
- See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
-
- 8 | 'use strict';
- 9 |
- > 10 | require('discord.js');
- | ^
- 11 |
- 12 | test('dummy', () => {
- 13 | expect(1).toBe(1);
-
- at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:937:11)
- at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
- at Object.require (__tests__/test.js:10:1)
+ PASS __tests__/test.js
+ ✓ dummy
at Object.toMatchSnapshot (e2e/__tests__/requireMissingExt.test.ts:22:16)
|
run tests using jest-jasmine:
e2e/__tests__/requireMissingExt.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `shows a proper error from deep requires 1`
- Snapshot - 28
+ Received + 2
- FAIL __tests__/test.js
- ● Test suite failed to run
-
- Cannot find module '../package' from 'node_modules/discord.js/src/index.js'
-
- Require stack:
- node_modules/discord.js/src/index.js
- __tests__/test.js
-
-
- However, Jest was able to find:
- '../package.json'
-
- You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js'].
-
- See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
-
- 8 | 'use strict';
- 9 |
- > 10 | require('discord.js');
- | ^
- 11 |
- 12 | test('dummy', () => {
- 13 | expect(1).toBe(1);
-
- at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:937:11)
- at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
- at Object.require (__tests__/test.js:10:1)
+ PASS __tests__/test.js
+ ✓ dummy
at Object.toMatchSnapshot (e2e/__tests__/requireMissingExt.test.ts:22:16)
|
run tests using jest-jasmine
Final attempt failed. Child_process exited with error code 1
|
run tests using jest-jasmine
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests using jest-jasmine
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading