mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: ✅ Refactor tests to not use module mocks, so bun test can be used
Some checks failed
CodeQL Scan / Analyze (javascript-typescript) (push) Failing after 45s
Build Docker Images / lint (push) Successful in 27s
Build Docker Images / check (push) Successful in 1m7s
Build Docker Images / tests (push) Failing after 6s
Build Docker Images / build (server, Dockerfile, ${{ github.repository_owner }}/server) (push) Has been skipped
Build Docker Images / build (worker, Worker.Dockerfile, ${{ github.repository_owner }}/worker) (push) Has been skipped
Deploy Docs to GitHub Pages / build (push) Failing after 12s
Mirror to Codeberg / Mirror (push) Failing after 0s
Deploy Docs to GitHub Pages / Deploy (push) Has been skipped
Nix Build / check (push) Failing after 32m31s
Some checks failed
CodeQL Scan / Analyze (javascript-typescript) (push) Failing after 45s
Build Docker Images / lint (push) Successful in 27s
Build Docker Images / check (push) Successful in 1m7s
Build Docker Images / tests (push) Failing after 6s
Build Docker Images / build (server, Dockerfile, ${{ github.repository_owner }}/server) (push) Has been skipped
Build Docker Images / build (worker, Worker.Dockerfile, ${{ github.repository_owner }}/worker) (push) Has been skipped
Deploy Docs to GitHub Pages / build (push) Failing after 12s
Mirror to Codeberg / Mirror (push) Failing after 0s
Deploy Docs to GitHub Pages / Deploy (push) Has been skipped
Nix Build / check (push) Failing after 32m31s
This commit is contained in:
parent
ec506241f0
commit
7112a66e4c
10 changed files with 71 additions and 527 deletions
|
|
@ -15,7 +15,7 @@ beforeAll(async () => {
|
|||
priority: 2,
|
||||
description: "test",
|
||||
visible: true,
|
||||
icon: "test",
|
||||
icon: "https://test.com",
|
||||
});
|
||||
|
||||
expect(role).toBeDefined();
|
||||
|
|
@ -29,7 +29,6 @@ beforeAll(async () => {
|
|||
priority: 3, // Higher priority than the user's role
|
||||
description: "Higher priority role",
|
||||
visible: true,
|
||||
icon: "higherPriorityRole",
|
||||
});
|
||||
|
||||
expect(higherPriorityRole).toBeDefined();
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ beforeAll(async () => {
|
|||
priority: 3, // Higher priority than the user's role
|
||||
description: "Higher priority role",
|
||||
visible: true,
|
||||
icon: "higherPriorityRole",
|
||||
});
|
||||
|
||||
expect(higherPriorityRole).toBeDefined();
|
||||
|
|
@ -179,7 +178,7 @@ describe("/api/v1/roles/:id", () => {
|
|||
priority: 2,
|
||||
description: "test",
|
||||
visible: true,
|
||||
icon: "test",
|
||||
icon: "https://test.com",
|
||||
});
|
||||
|
||||
await using client = await generateClient(users[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue