fix(deps): update dependency discord.js to v14.15.1 #13651
Annotations
6 errors and 2 warnings
run tests:
e2e/__tests__/watchModeUpdateSnapshot.test.ts#L50
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "u" to update snapshots: test results 1`
- Snapshot - 0
+ Received + 1
@@ -14,7 +14,8 @@
| ^
at Object.toMatchSnapshot (__tests__/bar.spec.js:1:35)
› 1 snapshot failed.
+ A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
Snapshot Summary
› 1 snapshot failed from 1 test suite. Inspect your code changes or press `u` to update them."
at Object.toMatchSnapshot (e2e/__tests__/watchModeUpdateSnapshot.test.ts:50:18)
|
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:
e2e/__tests__/watchModePatterns.test.ts#L51
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "p" to filter by file name: test results 1`
- Snapshot - 0
+ Received + 2
PASS __tests__/bar.spec.js
+ A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
+
PASS __tests__/foo.spec.js
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:51:18)
|
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