Skip to content

Commit

Permalink
Removed explicit 5.2 entry in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paglobal committed Oct 21, 2023
1 parent 9cf10be commit bf5e935
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/lit-analyzer/src/test/helpers/ts-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { setTypescriptModule } from "../../lib/analyze/ts-module.js";

type TestFunction = (title: string, implementation: Implementation) => void;

const TS_MODULES_ALL = ["current", "4.8", "5.0", "5.1", "5.2"] as const;
const TS_MODULES_ALL = ["current", "4.8", "5.0", "5.1"] as const;

type TsModuleKind = typeof TS_MODULES_ALL[number];

const TS_MODULES_DEFAULT: TsModuleKind[] = ["current", "4.8", "5.0", "5.1", "5.2"];
const TS_MODULES_DEFAULT: TsModuleKind[] = ["current", "4.8", "5.0", "5.1"];

/**
* Returns the name of the module to require for a specific ts module kind
Expand All @@ -21,7 +21,6 @@ function getTsModuleNameWithKind(kind: TsModuleKind | undefined): string {
case "4.8":
case "5.0":
case "5.1":
case "5.2":
return `typescript-${kind}`;
case "current":
case undefined:
Expand Down

0 comments on commit bf5e935

Please sign in to comment.