The failure.message passed to ensureOpenCodeProfileNodeModulesJunction comes from normalizeCommandFailure which may produce a JSON-escaped string when the error contains structured JSON in stdout. Using the raw runtimeMessage literal causes a mismatch in CI. Switch to expect.any(String) to accept any string value for the errorMessage parameter while still verifying the call happens. |
||
|---|---|---|
| .. | ||
| build | ||
| features | ||
| http | ||
| ipc | ||
| services | ||
| utils | ||
| sentry.test.ts | ||