fix(deps): update dependency discord.js to v14.15.1 #13651
Annotations
5 errors and 2 warnings
run tests:
node:internal/child_process#L512
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: PASS project-1 project-1/setup.test.js
PASS project-2 project-2/setup.test.js
node:events:497
throw er; // Unhandled 'error' event
^
Error: kill EPERM
at ChildProcess.kill (node:internal/child_process:512:26)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess.kill (node:internal/child_process:512:12)
[... lines matching original stack trace ...]
at process.processTimers (node:internal/timers:514:7) {
errno: -4048,
code: 'EPERM',
syscall: 'kill'
}
Node.js v21.7.3
at json (e2e/runJest.ts:156:11)
at Object.<anonymous> (e2e/__tests__/globalSetup.test.ts:98:29)
|
run tests:
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:927: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:
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:927: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:
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:927: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
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