Skip to content

Commit 6d0b486

Browse files
committed
test: small adjustments
1 parent 2e276b9 commit 6d0b486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) };

0 commit comments

Comments
 (0)