From 74b9fd015982b446d17adf6a38c28262f28db412 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Tue, 28 Jan 2025 16:07:17 -0500 Subject: [PATCH] fix: unit test issues --- .../unraid-file-modifier/unraid-file-modifier.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/unraid-api/unraid-file-modifier/unraid-file-modifier.spec.ts b/api/src/unraid-api/unraid-file-modifier/unraid-file-modifier.spec.ts index fd3284948..8a6366e83 100644 --- a/api/src/unraid-api/unraid-file-modifier/unraid-file-modifier.spec.ts +++ b/api/src/unraid-api/unraid-file-modifier/unraid-file-modifier.spec.ts @@ -73,7 +73,7 @@ describe('FileModificationService', () => { it('should apply modifications', async () => { await expect( service.applyModification(new TestFileModification()) - ).rejects.toThrowErrorMatchingSnapshot(); + ).resolves.toBe(undefined); }); it('should not rollback any mods without loaded', async () => {