Skip to content

src: rework mapBucketPathToUrlPath to work better with the redirects #82

src: rework mapBucketPathToUrlPath to work better with the redirects

src: rework mapBucketPathToUrlPath to work better with the redirects #82

Triggered via pull request October 16, 2023 03:01
Status Failure
Total duration 28s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 notices
converts `nodejs/releases` to `/dist` and `/download/releases`: tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: 60 !== 2 ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 60 !== 2 at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:131: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 Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:815:7) at async Test.processPendingSubtests (node:internal/test_runner/test:316:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 60, expected: 2, operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
converts `nodejs/releases/latest` to `/dist/latest` and `/download/releases/latest`: tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: 60 !== 2 ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 60 !== 2 at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:142: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: 60, expected: 2, operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
converts `nodejs/docs` to `/docs`: tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: 60 !== 1 ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 60 !== 1 at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:163: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: 60, expected: 1, operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
converts `nodejs/docs/latest` to `/docs/latest`: tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: 60 !== 1 ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 60 !== 1 at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:173: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: 60, expected: 1, operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
converts `nodejs/docs/latest/api` to `/api` and `/docs/latest/api`: tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: 60 !== 2 ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 60 !== 2 at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:183: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: 60, expected: 2, operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
converts `nodejs/docs/latest/api/assert.html` to `/api/assert.html` and `/docs/latest/api/assert.html`: tests/unit/index.test.ts#L1
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: 61 !== 2 ] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 61 !== 2 at TestContext.<anonymous> (/home/runner/work/release-cloudflare-worker/release-cloudflare-worker/tests/unit/util.test.ts:195: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: 61, expected: 2, operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
Unit Tests
Process completed with exit code 1.
Unit Tests
Total Tests: 23 Suites 📂: 4 Passed ✅: 17 Failed ❌: 6 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 353.333ms
E2E Tests
Total Tests: 20 Suites 📂: 3 Passed ✅: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3384.813ms