mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
chore: setup git hooks, refactor e2e test setup and fix ts build errors
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { vi } from 'vitest';
|
||||
|
||||
vi.mock('../src/modules/scanner/lib/stability', () => ({
|
||||
waitForStability: vi.fn().mockResolvedValue(undefined),
|
||||
}));
|
||||
@@ -1,7 +1,3 @@
|
||||
vi.mock('../src/modules/scanner/lib/stability', () => ({
|
||||
waitForStability: vi.fn().mockResolvedValue(undefined),
|
||||
}));
|
||||
|
||||
import { randomUUID } from 'crypto';
|
||||
import { mkdir, realpath, rename, rm, stat, writeFile } from 'fs/promises';
|
||||
import { dirname, join, relative } from 'path';
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
vi.mock('../src/modules/scanner/lib/stability', () => ({
|
||||
waitForStability: vi.fn().mockResolvedValue(undefined),
|
||||
}));
|
||||
|
||||
import { mkdir, writeFile } from 'fs/promises';
|
||||
import { dirname, join } from 'path';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user