fix(deps): update dependency discord.js to v14.16.3 #14082
Annotations
4 errors and 2 warnings
run tests:
e2e/__tests__/requireMissingExt.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `shows a proper error from deep requires 1`
- Snapshot - 24
+ Received + 16
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)
+ ReferenceError: ReadableStream is not defined
+
+ 8 | 'use strict';
+ 9 |
+ > 10 | require('discord.js');
+ | ^
+ 11 |
+ 12 | test('dummy', () => {
+ 13 | expect(1).toBe(1);
+
+ at Object.<anonymous> (node_modules/undici/lib/web/fetch/response.js:527:3)
+ at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5)
+ at Object.<anonymous> (node_modules/undici/index.js:106:19)
+ at Object.<anonymous> (node_modules/@discordjs/rest/src/index.ts:3:26)
+ at Object.<anonymous> (node_modules/discord.js/src/client/BaseClient.js:4:18)
- at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
+ at Object.<anonymous> (node_modules/discord.js/src/index.js:9:22)
at Object.require (__tests__/test.js:10:1)
at Object.toMatchSnapshot (e2e/__tests__/requireMissingExt.test.ts:22:16)
|
run tests:
e2e/__tests__/requireMissingExt.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `shows a proper error from deep requires 1`
- Snapshot - 24
+ Received + 16
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)
+ ReferenceError: ReadableStream is not defined
+
+ 8 | 'use strict';
+ 9 |
+ > 10 | require('discord.js');
+ | ^
+ 11 |
+ 12 | test('dummy', () => {
+ 13 | expect(1).toBe(1);
+
+ at Object.<anonymous> (node_modules/undici/lib/web/fetch/response.js:527:3)
+ at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5)
+ at Object.<anonymous> (node_modules/undici/index.js:106:19)
+ at Object.<anonymous> (node_modules/@discordjs/rest/src/index.ts:3:26)
+ at Object.<anonymous> (node_modules/discord.js/src/client/BaseClient.js:4:18)
- at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
+ at Object.<anonymous> (node_modules/discord.js/src/index.js:9:22)
at Object.require (__tests__/test.js:10:1)
at Object.toMatchSnapshot (e2e/__tests__/requireMissingExt.test.ts:22:16)
|
run tests:
e2e/__tests__/requireMissingExt.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `shows a proper error from deep requires 1`
- Snapshot - 24
+ Received + 16
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)
+ ReferenceError: ReadableStream is not defined
+
+ 8 | 'use strict';
+ 9 |
+ > 10 | require('discord.js');
+ | ^
+ 11 |
+ 12 | test('dummy', () => {
+ 13 | expect(1).toBe(1);
+
+ at Object.<anonymous> (node_modules/undici/lib/web/fetch/response.js:527:3)
+ at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5)
+ at Object.<anonymous> (node_modules/undici/index.js:106:19)
+ at Object.<anonymous> (node_modules/@discordjs/rest/src/index.ts:3:26)
+ at Object.<anonymous> (node_modules/discord.js/src/client/BaseClient.js:4:18)
- at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
+ at Object.<anonymous> (node_modules/discord.js/src/index.js:9:22)
at Object.require (__tests__/test.js:10:1)
at Object.toMatchSnapshot (e2e/__tests__/requireMissingExt.test.ts:22:16)
|
run tests
Final attempt failed. Child_process exited with error code 1
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading