Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

core: fix Cannot read properties of null (reading 'clear')

Abdullah Attae1cfbb155d2f
diff --git a/packages/core/__tests__/utils/index.js b/packages/core/__tests__/utils/index.js
index e32e3d530..358e21cdc 100644
--- a/packages/core/__tests__/utils/index.js
+++ b/packages/core/__tests__/utils/index.js
@@ -21,7 +21,7 @@ import DB from "../../src/api";
import { NodeStorageInterface } from "../../__mocks__/node-storage.mock";
import dayjs from "dayjs";
import { groupArray } from "../../src/utils/grouping";
-import FS from "../../__mocks__/fs.mock";
+import { FS } from "../../__mocks__/fs.mock";
import Compressor from "../../__mocks__/compressor.mock";
import { expect } from "vitest";
import EventSource from "eventsource";