You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run npm i and then npm run build -- --ignore open-lens
Run cd packages/core
Run npx jest --watch packages/core/src/features/telemetry/emit-telemetry-for-show-details-calls.test.ts
Expected behavior
The test suite to run in watch mode
Actual behavior
● Test suite failed to run
thrown: [Error]
Additional context
I found via using rg that the formatter is jest-message-util and playing around with it I switch the formatter to be util.inspect (from node's STL) and then I got the following extra details:
Error
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:700:9)
at execa (/Users/nokel81/repos/lens/node_modules/jest-changed-files/node_modules/execa/index.js:83:26)
at Object.findChangedFiles (/Users/nokel81/repos/lens/node_modules/jest-changed-files/build/sl.js:104:43)
at /Users/nokel81/repos/lens/node_modules/jest-changed-files/build/index.js:51:17
at Array.map (<anonymous>)
at getChangedFilesForRoots (/Users/nokel81/repos/lens/node_modules/jest-changed-files/build/index.js:50:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -63,
code: 'ENAMETOOLONG',
syscall: 'spawn',
originalMessage: 'spawn ENAMETOOLONG',
shortMessage: 'Command failed with ENAMETOOLONG: sl status -amnu /Users/nokel81/repos/lens/packages/core\n' +
'spawn ENAMETOOLONG',
command: 'sl status -amnu /Users/nokel81/repos/lens/packages/core',
escapedCommand: 'sl status -amnu "/Users/nokel81/repos/lens/packages/core"',
exitCode: undefined,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: '',
all: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Version
29.5.0
Steps to reproduce
lensapp/lens
branchfix-electron-main-decorator
npm i
and thennpm run build -- --ignore open-lens
cd packages/core
npx jest --watch packages/core/src/features/telemetry/emit-telemetry-for-show-details-calls.test.ts
Expected behavior
The test suite to run in watch mode
Actual behavior
Additional context
I found via using
rg
that the formatter isjest-message-util
and playing around with it I switch the formatter to beutil.inspect
(from node's STL) and then I got the following extra details:Environment
The text was updated successfully, but these errors were encountered: