From 23dfb7a12ddd935f72f2aaf527350d6aabd66c33 Mon Sep 17 00:00:00 2001 From: James Prevett Date: Sun, 1 Dec 2024 23:01:30 -0600 Subject: [PATCH] Update tests --- .gitignore | 3 ++- tests/setup-access.ts | 2 +- tests/setup-idb.ts | 2 +- tests/setup-storage.ts | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d53184c..8454ec4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ dist docs *.log tmp -build \ No newline at end of file +build +tests/.coverage \ No newline at end of file diff --git a/tests/setup-access.ts b/tests/setup-access.ts index 9d469d6..799e6a7 100644 --- a/tests/setup-access.ts +++ b/tests/setup-access.ts @@ -4,7 +4,7 @@ Object.assign(globalThis, fsAccess); import { configureSingle } from '@zenfs/core'; import { WebAccess } from '../src/access.js'; -import { copy, data } from '@zenfs/core/tests/setup/common.js'; +import { copy, data } from '@zenfs/core/tests/setup.js'; await configureSingle({ backend: WebAccess, diff --git a/tests/setup-idb.ts b/tests/setup-idb.ts index dac3b27..b52a4f5 100644 --- a/tests/setup-idb.ts +++ b/tests/setup-idb.ts @@ -2,7 +2,7 @@ import 'fake-indexeddb/auto'; import { configureSingle } from '@zenfs/core'; import { IndexedDB } from '../src/IndexedDB.js'; -import { copy, data } from '@zenfs/core/tests/setup/common.js'; +import { copy, data } from '@zenfs/core/tests/setup.js'; await configureSingle({ backend: IndexedDB, diff --git a/tests/setup-storage.ts b/tests/setup-storage.ts index 6b6bef0..41c7ff3 100644 --- a/tests/setup-storage.ts +++ b/tests/setup-storage.ts @@ -1,6 +1,6 @@ import { configureSingle } from '@zenfs/core'; import { WebStorage } from '../src/Storage.js'; -import { copy, data } from '@zenfs/core/tests/setup/common.js'; +import { copy, data } from '@zenfs/core/tests/setup.js'; const storage = { _: new Map(),