> @autometa/http@1.4.17 test /Users/ben.aherne/Documents/GitHub/autometa/packages/http > vitest run --passWithNoTests RUN v1.4.0 /Users/ben.aherne/Documents/GitHub/autometa/packages/http ✓ src/schema.map.spec.ts (5 tests) 3ms ✓ src/default-client-factory.other.spec.ts (1 test) 2ms ✓ src/request-meta.config.spec.ts (8 tests) 5ms ✓ src/http-request.spec.ts (11 tests) 4ms ✓ src/default-schema.spec.ts (13 tests) 4ms ✓ src/default-client-factory.axios.spec.ts (1 test) 2ms stdout | src/http.spec.ts > HTTP > resolving dynamic headers > should resolve dynamic headers HTTPRequest { headers: { foo: 'bar' }, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > allowPlainText > should throw an error when allowPlainText is false HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > allowPlainText > should return the response when allowPlainText is true HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > hooks > onSend > should call the hook when the request is sent HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > hooks > onReceive > should call the hook when the response is received HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > hooks > onReceive > should propagate errors from the hook HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > schemas > should throw an error if there is no schema and requireSchema is true HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > schemas > should throw an error if the response status does not match a schema HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > schemas > should return the response if the status matches a schema HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } stdout | src/http.spec.ts > HTTP > schemas > should return the validated response if the status matches a schema HTTPRequest { headers: {}, params: {}, route: [], baseUrl: undefined, method: 'GET', data: undefined } ✓ src/http.spec.ts (13 tests) 35ms Test Files 7 passed (7) Tests 52 passed (52) Start at 13:56:48 Duration 5.28s (transform 2.17s, setup 169ms, collect 5.60s, tests 55ms, environment 7ms, prepare 4.76s)