Skip to content

Commit f5ef1e0

Browse files
committed
fix: Resolving Lint error
1 parent 91361fa commit f5ef1e0

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

test/es-module/test-typescript.mjs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,12 @@ test('execute a TypeScript file with union types', async () => {
335335

336336
strictEqual(result.stderr, '');
337337
strictEqual(result.stdout,
338-
"{" +
339-
" name: 'Hello, TypeScript!' }\n" +
340-
"{ role: 'admin', permission: 'all' }\n" +
341-
"{\n foo: 'Testing Partial Type',\n bar: 42,\n zoo: true,\n metadata: undefined\n" +
342-
"}\n");
338+
'{' +
339+
" name: 'Hello, TypeScript!' }\n" +
340+
'{ role: \'admin\', permission: \'all\' }\n' +
341+
'{\n foo: \'Testing Partial Type\',\n bar: 42,\n' +
342+
' zoo: true,\n metadata: undefined\n' +
343+
'}\n');
343344
strictEqual(result.code, 0);
344345
});
345346

0 commit comments

Comments
 (0)