diff --git a/openrewrite/test/javascript/parser/variableDeclarations.test.ts b/openrewrite/test/javascript/parser/variableDeclarations.test.ts index 0681ca4e..865da265 100644 --- a/openrewrite/test/javascript/parser/variableDeclarations.test.ts +++ b/openrewrite/test/javascript/parser/variableDeclarations.test.ts @@ -1,5 +1,5 @@ import * as J from "../../../dist/java/tree"; -import {connect, disconnect, rewriteRun, rewriteRunWithOptions, typeScript} from '../testHarness'; +import {connect, disconnect, rewriteRun, typeScript} from '../testHarness'; describe('variable declaration mapping', () => { beforeAll(() => connect()); @@ -28,9 +28,7 @@ describe('variable declaration mapping', () => { }); test('const2', () => { - rewriteRunWithOptions( - // FIXME not quite there yet - {validatePrintIdempotence: false, allowUnknowns: true}, + rewriteRun( typeScript( //language=javascript `