mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Fix tests
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -21,6 +21,8 @@ describe('GenerateImageTool', () => {
|
||||
beforeEach(() => {
|
||||
mockFS = {
|
||||
writeFile: vi.fn(),
|
||||
mkdir: vi.fn(),
|
||||
stat: vi.fn().mockRejectedValue(new Error('ENOENT')), // Directory doesn't exist by default
|
||||
} as unknown as JSRuntimeFS;
|
||||
|
||||
mockProvider = {
|
||||
|
||||
Reference in new issue
Block a user