Skip to content

Commit

Permalink
Fix invalid TypeScript configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorejb committed Jan 6, 2024
1 parent 865ed4c commit 96e5189
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ComponentProps<Fa>>) {
cleanup();
Expand Down
2 changes: 1 addition & 1 deletion src/duotone.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ComponentProps<Fa>>) {
cleanup();
Expand Down
2 changes: 1 addition & 1 deletion src/layers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"skipLibCheck": true,
"sourceMap": true,
"noUnusedLocals": true,
"strict": true
},
"module": "nodenext",
"moduleResolution": "nodenext"
"strict": true,
"module": "NodeNext",
"moduleResolution": "NodeNext"
}
}

0 comments on commit 96e5189

Please sign in to comment.