Skip to content

Commit

Permalink
test: only run 'export type' tests on TypeScript v3.8 and up which ar…
Browse files Browse the repository at this point in the history
…e the only versions of TypeScript supporting 'isTypeOnly' on ExportDeclarations
  • Loading branch information
wessberg committed Nov 19, 2021
1 parent c74a42e commit 2de5ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/statement-merge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ test.serial("Merges identical statements correctly. #3", withTypeScript, async (
);
});

test("Merges identical statements correctly. #4", withTypeScript, async (t, {typescript}) => {
test.serial("Merges identical statements correctly. #4", withTypeScriptVersions(">=3.8"), async (t, {typescript}) => {
const bundle = await generateRollupBundle(
[
{
Expand Down

0 comments on commit 2de5ec1

Please sign in to comment.