Skip to content

Commit a1a68e1

Browse files
committed
Remove old option tests
1 parent a4c9c9a commit a1a68e1

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/unit/commandLineParser.spec.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ describe("command line", () => {
2121
});
2222
});
2323

24-
test("should error on tsconfig-only options", () => {
25-
const result = tstl.parseCommandLine(["--tsTransformers", "transformer"]);
26-
27-
expect(result.errors).toHaveDiagnostics();
28-
expect(result.options.tsTransformers).toBeUndefined();
29-
expect(result.fileNames).toEqual(["transformer"]);
30-
});
31-
3224
test("should error on unknown options", () => {
3325
const result = tstl.parseCommandLine(["--unknownOption"]);
3426

@@ -172,13 +164,6 @@ describe("tsconfig", () => {
172164
expect(result.options.noHeader).toBeUndefined();
173165
});
174166

175-
test("should parse lists", () => {
176-
const result = parseConfigFileContent({ tstl: { tsTransformers: [{ foo: "bar" }] } });
177-
178-
expect(result.errors).not.toHaveDiagnostics();
179-
expect(result.options.tsTransformers).toEqual([{ foo: "bar" }]);
180-
});
181-
182167
describe("enum options", () => {
183168
test("should parse enums", () => {
184169
const result = parseConfigFileContent({ tstl: { luaTarget: "5.1" } });

0 commit comments

Comments
 (0)