diff --git a/src/basic.test.ts b/src/basic.test.ts index 754fc69..ed269b7 100644 --- a/src/basic.test.ts +++ b/src/basic.test.ts @@ -3,7 +3,7 @@ import { describe, expect, test, afterEach } from "vitest"; // @ts-expect-error No typings available import { fasFlag, fasInfo } from "@cweili/fa-test-util"; import { render, screen, cleanup } from "@testing-library/svelte"; -import Fa from "./lib"; +import Fa from "./lib/index.js"; function mountFa(props: Partial>) { cleanup(); diff --git a/src/duotone.test.ts b/src/duotone.test.ts index 39f7e5b..26fcdf4 100644 --- a/src/duotone.test.ts +++ b/src/duotone.test.ts @@ -3,7 +3,7 @@ import { expect, test, afterEach } from "vitest"; // @ts-expect-error No typings available import { fasFlag, fadFlag, fadInfo } from "@cweili/fa-test-util"; import { render, screen, cleanup } from "@testing-library/svelte"; -import Fa from "./lib"; +import Fa from "./lib/index.js"; function mountFa(props: Partial>) { cleanup(); diff --git a/src/layers.test.ts b/src/layers.test.ts index 71f8bed..d238265 100644 --- a/src/layers.test.ts +++ b/src/layers.test.ts @@ -2,7 +2,7 @@ import { describe, expect, test, afterEach } from "vitest"; import { render, screen, cleanup, configure } from "@testing-library/svelte"; import type { ComponentProps } from "svelte"; -import { FaLayers, FaLayersText } from "./lib"; +import { FaLayers, FaLayersText } from "./lib/index.js"; configure({ testIdAttribute: "id" }); afterEach(cleanup); diff --git a/tsconfig.json b/tsconfig.json index f78fa5e..256059d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,8 +9,8 @@ "skipLibCheck": true, "sourceMap": true, "noUnusedLocals": true, - "strict": true - }, - "module": "nodenext", - "moduleResolution": "nodenext" + "strict": true, + "module": "NodeNext", + "moduleResolution": "NodeNext" + } }