Skip to content

fix(deps): update dependency discord.js to v14.19.3 #14594

fix(deps): update dependency discord.js to v14.19.3

fix(deps): update dependency discord.js to v14.19.3 #14594

Triggered via pull request April 26, 2025 01:59
Status Failure
Total duration 23m 28s
Artifacts

nodejs.yml

on: pull_request
prepare-yarn-cache-ubuntu  /  Prepare yarn cache for ubuntu-latest
16s
prepare-yarn-cache-ubuntu / Prepare yarn cache for ubuntu-latest
prepare-yarn-cache-macos  /  Prepare yarn cache for macos-latest
17s
prepare-yarn-cache-macos / Prepare yarn cache for macos-latest
prepare-yarn-cache-windows  /  Prepare yarn cache for windows-latest
55s
prepare-yarn-cache-windows / Prepare yarn cache for windows-latest
TypeScript Compatibility
5m 58s
TypeScript Compatibility
Typecheck Examples and Tests
4m 4s
Typecheck Examples and Tests
Lint
1m 55s
Lint
Validate Yarn dependencies and constraints
14s
Validate Yarn dependencies and constraints
Node LTS on Ubuntu with leak detection
47s
Node LTS on Ubuntu with leak detection
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Fit to window
Zoom out
Zoom in

Annotations

222 errors and 79 warnings
Ubuntu with shard 1/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Ubuntu with shard 1/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Ubuntu with shard 1/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Ubuntu with shard 1/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Node LTS on Ubuntu with coverage (1/4)
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Ubuntu with shard 3/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Ubuntu with shard 1/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
Ubuntu with shard 3/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Node LTS on Ubuntu with coverage (3/4)
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Ubuntu with shard 3/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Ubuntu with shard 3/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L101
expect(received).toMatchSnapshot() Snapshot name: `on node >=16.11.0 support re-exports from CJS of dual packages 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 1 passed, 1 total + Tests: 0 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm-deep-cjs-reexport.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:101:21)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L103
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:103:22)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L101
expect(received).toMatchSnapshot() Snapshot name: `on node >=16.11.0 support re-exports from CJS of dual packages 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 1 passed, 1 total + Tests: 0 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm-deep-cjs-reexport.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:101:21)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L103
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:103:22)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
macOS with shard 2/3 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
notify › does not report --notify flag: e2e/__tests__/detectOpenHandles.ts#L111
expect(received).toBe(expected) // Object.is equality Expected: "" Received: "Jest did not exit one second after the test run has completed.· 'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue." at Object.toBe (e2e/__tests__/detectOpenHandles.ts:111:27)
macOS with shard 1/3 / Node v18.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
macOS with shard 1/3 / Node v22.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Windows with shard 1/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
macOS with shard 1/3 / Node v20.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
check is not leaking memory: e2e/__tests__/jestEnvironmentJsdom.test.ts#L27
expect(received).toMatch(expected) Expected pattern: /PASS\s__tests__\/b.test.js/ Received string: "FAIL __tests__/b.test.js ● Test suite failed to run· EXPERIMENTAL FEATURE! Your test suite is leaking memory. Please ensure all references are cleaned.· There is a number of things that can leak memory: - Async operations that have not finished (e.g. fs.readFile). - Timers not properly mocked (e.g. setInterval, setTimeout). - Keeping references to the global scope.· at onResult (D:/a/jest/jest/packages/jest-core/build/index.js:1062:18) at Array.map (<anonymous>)· PASS __tests__/a.test.js ● Console· console.log a· at Object.<anonymous> (__tests__/a.test.js:1:34)·· Test Suites: 1 failed, 1 passed, 2 total Tests: 1 passed, 1 total Snapshots: 0 total Time: 4.583 s Ran all test suites." at Object.toMatch (e2e/__tests__/jestEnvironmentJsdom.test.ts:27:18)
Windows with shard 1/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Windows with shard 1/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Windows with shard 1/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
processChild › handles `Symbol`: undefined#L0
Timed out at timeoutKill (node_modules/execa/lib/kill.js:65:23)
processChild › handles `Symbol`: undefined#L0
Timed out at timeoutKill (node_modules/execa/lib/kill.js:65:23)
processChild › handles `Symbol`: e2e/__tests__/nonSerializableStructuresInequality.test.ts#L36
Process exited at waitUntil (e2e/__tests__/nonSerializableStructuresInequality.test.ts:36:9) at Object.testIn2Workers (e2e/__tests__/nonSerializableStructuresInequality.test.ts:98:35)
processChild › handles `BigInt`: undefined#L0
Timed out at timeoutKill (node_modules/execa/lib/kill.js:65:23)
processChild › handles `BigInt`: e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\bigint-inequality-test' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/nonSerializableStructuresInequality.test.ts:48:10)
processChild › handles `BigInt`: undefined#L0
Timed out at timeoutKill (node_modules/execa/lib/kill.js:65:23)
processChild › handles `BigInt`: e2e/__tests__/nonSerializableStructuresInequality.test.ts#L36
Process exited at waitUntil (e2e/__tests__/nonSerializableStructuresInequality.test.ts:36:9) at Object.testIn2Workers (e2e/__tests__/nonSerializableStructuresInequality.test.ts:85:35)
Windows with shard 1/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Windows with shard 1/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L101
expect(received).toMatchSnapshot() Snapshot name: `on node >=16.11.0 support re-exports from CJS of dual packages 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 1 passed, 1 total + Tests: 0 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm-deep-cjs-reexport.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:101:21)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L103
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:103:22)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 2 + Received + 2 @@ -27,21 +27,21 @@ START "five" at log (__tests__/concurrent.test.js:15:11) console.log - END: "three" + END: "one" at log (__tests__/concurrent.test.js:15:11) console.log START "six" at log (__tests__/concurrent.test.js:15:11) console.log - END: "one" + END: "three" at log (__tests__/concurrent.test.js:15:11) console.log START "seven" at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20) at runMicrotasks (<anonymous>)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L101
expect(received).toMatchSnapshot() Snapshot name: `on node >=16.11.0 support re-exports from CJS of dual packages 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 1 passed, 1 total + Tests: 0 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm-deep-cjs-reexport.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:101:21)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L103
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:103:22)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
macOS with shard 2/3 / Node v22.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
macOS with shard 2/3 / Node v18.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
macOS with shard 2/3 / Node v20.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
macOS with shard 1/3 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
Windows with shard 3/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 2 + Received + 2 @@ -67,21 +67,21 @@ START "nine" at log (__tests__/concurrent.test.js:15:11) console.log - END: "nine" + END: "five" at log (__tests__/concurrent.test.js:15:11) console.log START "ten" at log (__tests__/concurrent.test.js:15:11) console.log - END: "five" + END: "nine" at log (__tests__/concurrent.test.js:15:11) console.log END: "six" at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 2 + Received + 2 @@ -92,16 +92,16 @@ END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log - END: "ten" + END: "eight" at log (__tests__/concurrent.test.js:15:11) console.log - END: "eight" + END: "ten" at log (__tests__/concurrent.test.js:15:11) console.log afterAll at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Windows with shard 3/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
with skip › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L47
expect(received).toMatchSnapshot() Snapshot name: `with skip runs the tests in the correct order 1` - Snapshot - 4 + Received + 4 @@ -42,26 +42,26 @@ END: "two" at log (__tests__/concurrent-skip.test.js:15:11) console.log - END: "seven" + END: "four" at log (__tests__/concurrent-skip.test.js:15:11) console.log - END: "four" + END: "seven" at log (__tests__/concurrent-skip.test.js:15:11) console.log - END: "eight" + END: "ten" at log (__tests__/concurrent-skip.test.js:15:11) console.log - END: "ten" + END: "eight" at log (__tests__/concurrent-skip.test.js:15:11) console.log afterAll at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:47:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Windows with shard 3/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
all passing › runs the tests in the correct order: e2e/__tests__/circusConcurrent.test.ts#L28
expect(received).toMatchSnapshot() Snapshot name: `all passing runs the tests in the correct order 1` - Snapshot - 4 + Received + 4 @@ -67,21 +67,21 @@ START "nine" at log (__tests__/concurrent.test.js:15:11) console.log - END: "nine" + END: "five" at log (__tests__/concurrent.test.js:15:11) console.log START "ten" at log (__tests__/concurrent.test.js:15:11) console.log - END: "five" + END: "nine" at log (__tests__/concurrent.test.js:15:11) console.log END: "six" @@ -92,16 +92,16 @@ END: "seven" at log (__tests__/concurrent.test.js:15:11) console.log - END: "ten" + END: "eight" at log (__tests__/concurrent.test.js:15:11) console.log - END: "eight" + END: "ten" at log (__tests__/concurrent.test.js:15:11) console.log afterAll at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:28:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
macOS with shard 1/3 / Node v23.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
shows a proper error from deep requires: 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:935: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)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L101
expect(received).toMatchSnapshot() Snapshot name: `on node >=16.11.0 support re-exports from CJS of dual packages 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 1 passed, 1 total + Tests: 0 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm-deep-cjs-reexport.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:101:21)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L103
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:103:22)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L101
expect(received).toMatchSnapshot() Snapshot name: `on node >=16.11.0 support re-exports from CJS of dual packages 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 1 passed, 1 total + Tests: 0 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm-deep-cjs-reexport.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:101:21)
on node >=16.11.0 › support re-exports from CJS of dual packages: e2e/__tests__/nativeEsm.test.ts#L103
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:103:22)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
macOS with shard 1/3 / Node v16.x
Final attempt failed. Child_process exited with error code 1
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
shows a proper error from deep requires: 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:935: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:528:3) + at Object.<anonymous> (node_modules/undici/lib/web/fetch/index.js:11:5) + at Object.<anonymous> (node_modules/undici/index.js:107: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)
Windows with shard 3/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Windows with shard 3/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
macOS with shard 2/3 / Node v23.x
Final attempt failed. Child_process exited with error code 1
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L57
expect(received).toMatchSnapshot() Snapshot name: `runs test with native ESM 1` - Snapshot - 2 + Received + 2 - Test Suites: 1 passed, 1 total + Test Suites: 1 failed, 1 total - Tests: 31 passed, 31 total + Tests: 1 failed, 30 passed, 31 total Snapshots: 0 total Time: <<REPLACED>> Ran all test suites matching native-esm.test.js. at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:57:19)
runs test with native ESM: e2e/__tests__/nativeEsm.test.ts#L59
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.toBe (e2e/__tests__/nativeEsm.test.ts:59:20)
Ubuntu with shard 1/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (1/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (1/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 1/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (3/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
Node LTS on Ubuntu with coverage (3/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 3/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 4/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 4/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 1/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1