File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2046,6 +2046,7 @@ test.suite('ts-node', (test) => {
20462046 input
20472047 . split ( '\n' )
20482048 . map ( ( line ) => line . trim ( ) )
2049+ // Restore newline once https://github.com/nodejs/node/pull/39392 is merged
20492050 . join ( '' ) ,
20502051 {
20512052 waitMs,
@@ -2062,7 +2063,6 @@ test.suite('ts-node', (test) => {
20622063 // Serial because it's timing-sensitive
20632064 test . serial ( 'should allow evaluating top level await' , async ( ) => {
20642065 const script = `
2065- export {}; /* TODO remove this line; implement automatic export{}; in the REPL */
20662066 const x: number = await new Promise((r) => r(1));
20672067 for await (const x of [1,2,3]) { console.log(x) };
20682068 for (const x of ['a', 'b']) { await x; console.log(x) };
You can’t perform that action at this time.
0 commit comments