Skip to content

test fixes

test fixes #1330

Triggered via push December 10, 2024 10:57
Status Failure
Total duration 3m 42s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
tests/services/game-channel/index.test.ts > Game channel service - index > should return a list of game channels: tests/services/game-channel/index.test.ts#L11
Error: expected 200 "OK", got 404 "Not Found" ❯ tests/services/game-channel/index.test.ts:11:8 ❯ Test._assertStatus node_modules/supertest/lib/test.js:252:14 ❯ node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/supertest/lib/test.js:120:14 ❯ Object.onceWrapper node:events:632:28 ❯ Server.emit node:events:518:28 ❯ Server.emit node:domain:489:12 ❯ emitCloseNT node:net:2344:8
tests/services/_api/game-channel-api/post.test.ts > Game channel API service - post > should create a game channel if the scope is valid: tests/services/_api/game-channel-api/post.test.ts#L12
Error: expected 200 "OK", got 400 "Bad Request" ❯ tests/services/_api/game-channel-api/post.test.ts:12:8 ❯ Test._assertStatus node_modules/supertest/lib/test.js:252:14 ❯ node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/supertest/lib/test.js:120:14 ❯ Object.onceWrapper node:events:632:28 ❯ Server.emit node:events:518:28 ❯ Server.emit node:domain:489:12 ❯ emitCloseNT node:net:2344:8
tests/services/_api/game-channel-api/post.test.ts > Game channel API service - post > should not create a game channel if the scope is not valid: tests/services/_api/game-channel-api/post.test.ts#L21
Error: expected 403 "Forbidden", got 400 "Bad Request" ❯ tests/services/_api/game-channel-api/post.test.ts:21:8 ❯ Test._assertStatus node_modules/supertest/lib/test.js:252:14 ❯ node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/supertest/lib/test.js:120:14 ❯ Object.onceWrapper node:events:632:28 ❯ Server.emit node:events:518:28 ❯ Server.emit node:domain:489:12 ❯ emitCloseNT node:net:2344:8
test
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636