diff --git a/tests/drivers/fs/copy.spec.ts b/tests/drivers/fs/copy.spec.ts index 4e75ff8..73b8905 100644 --- a/tests/drivers/fs/copy.spec.ts +++ b/tests/drivers/fs/copy.spec.ts @@ -54,6 +54,6 @@ test.group('FS Driver | copy', () => { await assert.rejects(async () => { await fdfs.copy('foo', destination) - }, /ENOTSUP: operation not supported/) + }, /ENOTSUP: operation not supported|EISDIR: illegal operation on a/) }) }) diff --git a/tests/drivers/fs/move.spec.ts b/tests/drivers/fs/move.spec.ts index 6f5ce79..62ee11a 100644 --- a/tests/drivers/fs/move.spec.ts +++ b/tests/drivers/fs/move.spec.ts @@ -72,6 +72,6 @@ test.group('FS Driver | move', () => { await assert.rejects(async () => { await fdfs.move('foo', destination) - }, /ENOTSUP: operation not supported/) + }, /ENOTSUP: operation not supported|EISDIR: illegal operation on a/) }) })