From d111ca8e6c656d678a096ceb59a9caef9294ef35 Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 18 Jun 2024 18:58:25 +0200 Subject: [PATCH] fix formatting --- test/babel.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/babel.ts b/test/babel.ts index 18fbd81f..e27be286 100644 --- a/test/babel.ts +++ b/test/babel.ts @@ -500,8 +500,11 @@ describe("Babel", function () { it("adds the sourceFilename to location", function () { const code = "const a = 1;"; - const filename = "testfile.js" - const ast = recast.parse(code, {...parseOptions, sourceFileName: filename}); + const filename = "testfile.js"; + const ast = recast.parse(code, { + ...parseOptions, + sourceFileName: filename, + }); assert.strictEqual(ast.program.body[0].loc.filename, filename); });