refactor: upgrade to ohash v2 #6844
Annotations
10 errors and 1 warning
Run pnpm vitest --coverage:
test/tests.ts#L232
AssertionError: expected { error: true, …(5) } to match object { message: 'Hello API' }
(5 matching properties omitted from actual)
- Expected
+ Received
{
- "message": "Hello API",
+ "message": "Worker not ready",
}
❯ test/tests.ts:232:26
|
Run pnpm vitest --coverage:
test/tests.ts#L256
AssertionError: expected 503 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 503
❯ test/tests.ts:256:20
|
Run pnpm vitest --coverage:
test/tests.ts#L265
AssertionError: expected 503 to be 404 // Object.is equality
- Expected
+ Received
- 404
+ 503
❯ test/tests.ts:265:24
|
Run pnpm vitest --coverage:
test/tests.ts#L270
AssertionError: expected 503 to be 405 // Object.is equality
- Expected
+ Received
- 405
+ 503
❯ test/tests.ts:270:24
|
Run pnpm vitest --coverage:
test/tests.ts#L275
AssertionError: expected 503 to be 307 // Object.is equality
- Expected
+ Received
- 307
+ 503
❯ test/tests.ts:275:25
|
Run pnpm vitest --coverage:
test/tests.ts#L308
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/tests.ts:308:33
|
Run pnpm vitest --coverage:
test/tests.ts#L313
TypeError: .toMatch() expects to receive a string, but got object
❯ test/tests.ts:313:18
|
Run pnpm vitest --coverage:
test/tests.ts#L355
AssertionError: expected 'no-cache' to be 's-maxage=60' // Object.is equality
Expected: "s-maxage=60"
Received: "no-cache"
❯ test/tests.ts:355:38
|
Run pnpm vitest --coverage:
test/tests.ts#L366
AssertionError: expected { 'cache-control': 'no-cache', …(9) } to match object { …(4) }
(10 matching properties omitted from actual)
- Expected
+ Received
{
- "access-control-allow-headers": "*",
- "access-control-allow-methods": "GET",
- "access-control-allow-origin": "*",
- "access-control-max-age": "0",
+ "cache-control": "no-cache",
+ "connection": "keep-alive",
+ "content-length": "653",
+ "content-security-policy": "script-src 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self';",
+ "content-type": "application/json",
+ "date": "Fri, 21 Feb 2025 16:24:01 GMT",
+ "keep-alive": "timeout=5",
+ "referrer-policy": "no-referrer",
+ "x-content-type-options": "nosniff",
+ "x-frame-options": "DENY",
}
❯ test/tests.ts:366:21
|
Run pnpm vitest --coverage:
test/tests.ts#L371
AssertionError: expected undefined to be '/other' // Object.is equality
- Expected:
"/other"
+ Received:
undefined
❯ test/tests.ts:371:39
|
Run actions/setup-node@v4
Cache not found for keys: node-cache-Linux-x64-pnpm-dc03b4d48ecdb8415751ed7ce34f22338fe4b877e567d4bbddb2244e7450a6ec
|
Loading