fix: make redirects work as intended #87
test.yml
on: pull_request
Unit Tests
17s
E2E Tests
17s
Annotations
2 errors and 2 notices
converts `/dist/latest` to `nodejs/release/latest`:
tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'nodejs/release/v20.8.0/'
- 'nodejs/release/latest'
^] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'nodejs/release/v20.8.0/'
- 'nodejs/release/latest'
^
at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:57: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/v20.8.0/',
expected: 'nodejs/release/latest',
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Unit Tests
Process completed with exit code 1.
|
E2E Tests
Total Tests: 22
Suites 📂: 3
Passed ✅: 22
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 3228.698ms
|
Unit Tests
Total Tests: 23
Suites 📂: 4
Passed ✅: 22
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 384.861ms
|