chore: apply prettier on the entire project

This commit is contained in:
jubnl
2026-05-25 21:59:42 +02:00
parent c130ed41be
commit 6bcdfbc34b
488 changed files with 82986 additions and 45830 deletions
@@ -1,3 +1,11 @@
import {
checkPermission,
getPermissionLevel,
savePermissions,
invalidatePermissionsCache,
PERMISSION_ACTIONS,
} from '../../../src/services/permissions';
import { describe, it, expect, vi } from 'vitest';
// Mutable rows array so individual tests can inject DB rows
@@ -15,8 +23,6 @@ vi.mock('../../../src/db/database', () => ({
},
}));
import { checkPermission, getPermissionLevel, savePermissions, invalidatePermissionsCache, PERMISSION_ACTIONS } from '../../../src/services/permissions';
describe('permissions', () => {
describe('checkPermission — admin bypass', () => {
it('admin always passes regardless of permission level', () => {