Skip to content

Commit 884eef3

Browse files
committed
test: ignore indent test for decorators with ts4.8
1 parent c159bfa commit 884eef3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/src/rules/indent.ts

+9
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ describe("use @typescript-eslint/parser@4", () => {
3333
rule as any,
3434
loadTestCases("indent", {
3535
filter(filename) {
36+
if (
37+
filename.endsWith("ts-class03-input.svelte") ||
38+
filename.endsWith("ts-decorator01-input.svelte") ||
39+
filename.endsWith("ts-decorator02-input.svelte")
40+
) {
41+
// Decorator nodes in ts4.8 are incompatible.
42+
return false
43+
}
44+
3645
return path.basename(path.dirname(filename)) === "ts"
3746
},
3847
}),

0 commit comments

Comments
 (0)