Skip to content

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

editor: fix code-block tests to use our own `getChangedNodes` fn

Abdullah Atta93baed35f407
diff --git a/packages/editor/src/extensions/code-block/tests/code-block.test.ts b/packages/editor/src/extensions/code-block/tests/code-block.test.ts
index 8da6f1aca..895d299dc 100644
--- a/packages/editor/src/extensions/code-block/tests/code-block.test.ts
+++ b/packages/editor/src/extensions/code-block/tests/code-block.test.ts
@@ -18,10 +18,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { createEditor, h } from "../../../../test-utils";
-import { getChangedNodes } from "@remirror/core-utils";
import { expect, test, vi } from "vitest";
import { CodeBlock, inferLanguage } from "../code-block";
import { HighlighterPlugin } from "../highlighter";
+import { getChangedNodes } from "../../../utils/prosemirror";
const CODEBLOCKS_HTML = h("div", [
h("pre", [h("code", ["function hello() { }"])], {