Update error JSON handling #3654
Open
coqbot-app / GitLab CI job test:types:rest (branch)
failed
Nov 7, 2024 in 0s
Test has failed on GitLab CI
This job has failed. If you need to, you can restart it directly in the GitHub interface using the "Re-run" button.
We show below the last 40 lines of the trace from GitLab (the complete trace is available here).
Details
CLI Building entry: src/index.ts
CLI Using tsconfig: tsconfig.json
CLI tsup v8.1.0
CLI Target: es2022
ESM Build start
CJS Build start
ESM dist/index.mjs 9.94 KB
ESM ⚡️ Build success in 224ms
CJS dist/index.js 15.19 KB
CJS ⚡️ Build success in 224ms
DTS Build start
DTS ⚡️ Build success in 7420ms
DTS dist/index.d.mts 14.25 KB
DTS dist/index.d.ts 14.25 KB
> nx run @gitbeaker/rest:"test:types"
test/unit/Requester.ts:160:63 - error TS2339: Property 'toThrowWithMessage' does not exist on type 'Matchers<Promise<void>, () => Promise<never>> & SnapshotMatchers<Promise<void>, () => Promise<never>> & Inverse<...>'.
160 await expect(() => Promise.reject(new Error(''))).rejects.toThrowWithMessage(Error, 'test');
~~~~~~~~~~~~~~~~~~
Found 1 error in test/unit/Requester.ts:160
> NX Running target test:types for project @gitbeaker/rest and 3 tasks it depends on failed
Failed tasks:
- @gitbeaker/rest:test:types
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
Loading