🐛 Fix esm module incompatibilities on text-editor with node

This commit is contained in:
Andrey Antukh 2024-11-19 17:20:16 +01:00
parent 04a0d867b0
commit 7faa9e970e
19 changed files with 52 additions and 52 deletions

View file

@ -1,6 +1,6 @@
import { describe, test, expect } from "vitest";
import { createEmptyInline, createInline, getInline, getInlineLength, isInline, isInlineEnd, isInlineStart, isLikeInline, splitInline, TAG, TYPE } from "./Inline";
import { createLineBreak } from "./LineBreak";
import { createEmptyInline, createInline, getInline, getInlineLength, isInline, isInlineEnd, isInlineStart, isLikeInline, splitInline, TAG, TYPE } from "./Inline.js";
import { createLineBreak } from "./LineBreak.js";
/* @vitest-environment jsdom */
describe("Inline", () => {