Skip to content

Bump the development-dependencies group in /link-shortener with 2 updates #333

Bump the development-dependencies group in /link-shortener with 2 updates

Bump the development-dependencies group in /link-shortener with 2 updates #333

Status Failure
Total duration 21s
Artifacts

tests.yml

on: pull_request
Run Tests on Worker
13s
Run Tests on Worker
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/index.test.ts > Worker > should return 404 for non-existent slug: link-shortener/src/index.test.ts#L22
AssertionError: expected 500 to be 404 // Object.is equality - Expected + Received - 404 + 500 ❯ src/index.test.ts:22:24
src/index.test.ts > Worker > should redirect to redirect url for the root/index path: link-shortener/src/index.test.ts#L27
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/index.test.ts:27:28
src/index.test.ts > Worker > should return 200 for the dashboard: link-shortener/src/index.test.ts#L32
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/index.test.ts:32:24
src/index.test.ts > Worker > should return 200 for the dashboard styles: link-shortener/src/index.test.ts#L37
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/index.test.ts:37:24
src/index.test.ts > Worker > should return 401 if authorization header is not set to the public/external create route: link-shortener/src/index.test.ts#L44
AssertionError: expected 500 to be 401 // Object.is equality - Expected + Received - 401 + 500 ❯ src/index.test.ts:44:33
src/index.test.ts > Worker > should return 401 if api key is invalid to the public/external create route: link-shortener/src/index.test.ts#L57
AssertionError: expected 500 to be 401 // Object.is equality - Expected + Received - 401 + 500 ❯ src/index.test.ts:57:33
src/index.test.ts > Worker > should be able to create a link using the public/external route and it should redirect: link-shortener/src/index.test.ts#L74
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/index.test.ts:74:33
src/index.test.ts > Worker > should be able to redirect to a link multiple times: link-shortener/src/index.test.ts#L102
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/index.test.ts:102:33
src/index.test.ts > Worker > should create short links with a path length of 6: link-shortener/src/index.test.ts#L132
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/index.test.ts:132:33
src/index.test.ts > Worker > should return 400 if ttl is less than 60: link-shortener/src/index.test.ts#L150
AssertionError: expected 500 to be 400 // Object.is equality - Expected + Received - 400 + 500 ❯ src/index.test.ts:150:33