diff --git a/tests/cases/fourslash/codeFixDisableJsDiagnosticsInFile.ts b/tests/cases/fourslash/codeFixDisableJsDiagnosticsInFile.ts index 070712c2523..b862b69d8b6 100644 --- a/tests/cases/fourslash/codeFixDisableJsDiagnosticsInFile.ts +++ b/tests/cases/fourslash/codeFixDisableJsDiagnosticsInFile.ts @@ -4,8 +4,10 @@ // @noEmit: true // @Filename: a.js -////[|// @ts-check|] +////[|// @ts-check ////var x = ""; -////x = 1; +////x = 1;|] -verify.rangeAfterCodeFix("// @ts-nocheck", /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 1); \ No newline at end of file +verify.rangeAfterCodeFix(`// @ts-nocheck +var x = ""; +x = 1;`, /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 1); \ No newline at end of file