diff --git a/napi/parser/test/parse-raw-worker.ts b/napi/parser/test/parse-raw-worker.ts index ac54919291785..c9a0f2ca85050 100644 --- a/napi/parser/test/parse-raw-worker.ts +++ b/napi/parser/test/parse-raw-worker.ts @@ -186,11 +186,11 @@ async function runTsCase( }; if (rangeParent) { - testRangeParent(filename, sourceText, options, expect); + testRangeParent(filename, code, options, expect); continue; } if (lazy) { - testLazy(filename, sourceText, options); + testLazy(filename, code, options); continue; }