Skip to content

Commit 8f5714a

Browse files
committed
test(scripts): remove spellcheck source mirror
1 parent 0c3e7a9 commit 8f5714a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎test/scripts/docs-spellcheck.test.ts‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { readFileSync } from "node:fs";
33
import { describe, expect, it } from "vitest";
44

5-
const SCRIPT_PATH = "scripts/docs-spellcheck.sh";
65
const DICTIONARY_PATH = "scripts/codespell-dictionary.txt";
76
const IGNORE_PATH = "scripts/codespell-ignore.txt";
87

@@ -11,15 +10,6 @@ function nonEmptyLines(path: string): string[] {
1110
}
1211

1312
describe("scripts/docs-spellcheck.sh", () => {
14-
it("uses the repository dictionary and ignore files", () => {
15-
const script = readFileSync(SCRIPT_PATH, "utf8");
16-
17-
expect(script).toContain("-D");
18-
expect(script).toContain("-");
19-
expect(script).toContain("-D\n scripts/codespell-dictionary.txt");
20-
expect(script).toContain("-I\n scripts/codespell-ignore.txt");
21-
});
22-
2313
it("keeps codespell config entries non-empty and unique", () => {
2414
for (const path of [DICTIONARY_PATH, IGNORE_PATH]) {
2515
const lines = nonEmptyLines(path);

0 commit comments

Comments
 (0)