.pick(), .partial(), and .omit() disallowed on object schemas containing refinements
#284
Annotations
2 errors
|
test
Process completed with exit code 1.
|
|
test/objects/stix-bundle.test.ts:
test/utils/attack-data.ts#L37
AxiosError: Request failed with status code 503
❯ settle node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/axios/lib/adapters/http.js:798:11
❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
❯ fetchAttackData test/utils/attack-data.ts:37:20
❯ getCachedOrFetchAttackData test/utils/attack-data.ts:67:24
❯ getAttackObjects test/utils/attack-data.ts:106:20
❯ test/vitest.setup.ts:6:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { description: undefined, number: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/1.13.3', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://raw.githubusercontent.com/mitre-attack/attack-stix-data/master/enterprise-attack/enterprise-attack.json', allowAbsoluteUrls: true }, code: 'ERR_BAD_RESPONSE', status: 503 }
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-logs
|
91.6 KB |
sha256:6695b925aecae91f351d7166e6b9d424dd84f6ca6c962523aeb1ffff30c92c41
|
|