Skip to content

fix #494: avoid squashing data onto fetch options #198

fix #494: avoid squashing data onto fetch options

fix #494: avoid squashing data onto fetch options #198

Re-run triggered November 30, 2024 09:07
Status Failure
Total duration 29s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
__tests__/index.spec.ts > mande > can use get with options only: __tests__/index.spec.ts#L141
AssertionError: expected "bound bound fetch" to be called with arguments: [ '/api/?foo=a&bar=b', Anything ] Received: 1st bound bound fetch call: Array [ - "/api/?foo=a&bar=b", - Anything, + "/api/", + Object { + "headers": Object { + "Accept": "application/json", + "Content-Type": "application/json", + }, + "method": "GET", + "query": Object {}, + "responseAs": "json", + "stringify": [Function stringify], + }, ] Number of calls: 1 ❯ __tests__/index.spec.ts:141:17
__tests__/index.spec.ts > mande > can return a raw response when delete called without url parameter: __tests__/index.spec.ts#L341
AssertionError: expected null not to be null ❯ __tests__/index.spec.ts:341:23 ❯ __tests__/index.spec.ts:340:5
build
Process completed with exit code 1.