fix: don't throw a 401 when hitting /docs/ #84
test.yml
on: pull_request
Unit Tests
17s
E2E Tests
22s
Annotations
3 errors and 2 notices
converts `/dist` to `nodejs/release`:
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'
}
|
converts `/download` to `nodejs`:
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'
}
|
Unit Tests
Process completed with exit code 1.
|
Unit Tests
Total Tests: 23
Suites 📂: 4
Passed ✅: 21
Failed ❌: 2
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 377.366ms
|
E2E Tests
Total Tests: 22
Suites 📂: 3
Passed ✅: 22
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 3266.113ms
|