fix(ci): resolve inherited formatter and navigation effect diagnostics
This commit is contained in:
1 parent
a320e47c29
commit
a4266f297c
2 files changed
+15
-14
No files matched your search
+14
-14
@@ -1,26 +1,26 @@
|
||||
import { vi } from "vitest";
|
||||
|
||||
export const createMockDb = () => ({
|
||||
insert: vi.fn(),
|
||||
update: vi.fn(),
|
||||
delete: vi.fn(),
|
||||
select: vi.fn(),
|
||||
insert: vi.fn(),
|
||||
update: vi.fn(),
|
||||
delete: vi.fn(),
|
||||
select: vi.fn(),
|
||||
});
|
||||
|
||||
export const createMockAuth = () => ({
|
||||
auth: vi.fn(),
|
||||
handlers: {},
|
||||
signOut: vi.fn(),
|
||||
auth: vi.fn(),
|
||||
handlers: {},
|
||||
signOut: vi.fn(),
|
||||
});
|
||||
|
||||
export const createMockRcon = () => ({
|
||||
disconnectUser: vi.fn(),
|
||||
giveBadge: vi.fn(),
|
||||
removeBadge: vi.fn(),
|
||||
alertUser: vi.fn(),
|
||||
muteUser: vi.fn(),
|
||||
unmuteUser: vi.fn(),
|
||||
giveCredits: vi.fn(),
|
||||
disconnectUser: vi.fn(),
|
||||
giveBadge: vi.fn(),
|
||||
removeBadge: vi.fn(),
|
||||
alertUser: vi.fn(),
|
||||
muteUser: vi.fn(),
|
||||
unmuteUser: vi.fn(),
|
||||
giveCredits: vi.fn(),
|
||||
});
|
||||
|
||||
export const createMockLogStaffActivity = () => vi.fn();
|
||||
|
||||
@@ -14,6 +14,7 @@ export function GlobalProgressBar() {
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
const isPresent = useIsPresent();
|
||||
|
||||
// biome-ignore lint/correctness/useExhaustiveDependencies: Route changes intentionally restart the indicator timer.
|
||||
useEffect(() => {
|
||||
setIsLoading(true);
|
||||
const timer = setTimeout(() => {
|
||||
|
||||
Reference in new issue
Block a user