fix: don't throw a 401 when hitting /docs/ #84
Annotations
3 errors and 1 notice
Run Tests:
tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'nodejs/release/'
- 'nodejs/release'
^] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'nodejs/release/'
- 'nodejs/release'
^
at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:47:12)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:571:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:316:18)
at Test.postRun (node:internal/test_runner/test:640:19)
at Test.run (node:internal/test_runner/test:599:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'nodejs/release/',
expected: 'nodejs/release',
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Run Tests:
tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'nodejs/'
- 'nodejs'
^] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'nodejs/'
- 'nodejs'
^
at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:67:12)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:571:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:316:18)
at Test.postRun (node:internal/test_runner/test:640:19)
at Test.run (node:internal/test_runner/test:599:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'nodejs/',
expected: 'nodejs',
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Run Tests
Process completed with exit code 1.
|
Run Tests
Total Tests: 23
Suites 📂: 4
Passed ✅: 21
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 377.366ms
|
The logs for this run have expired and are no longer available.
Loading