Skip to content

Commit

Permalink
fix: Resolving Lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinuehara committed Sep 23, 2024
1 parent 91361fa commit f5ef1e0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/es-module/test-typescript.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,12 @@ test('execute a TypeScript file with union types', async () => {

strictEqual(result.stderr, '');
strictEqual(result.stdout,
"{" +
" name: 'Hello, TypeScript!' }\n" +
"{ role: 'admin', permission: 'all' }\n" +
"{\n foo: 'Testing Partial Type',\n bar: 42,\n zoo: true,\n metadata: undefined\n" +
"}\n");
'{' +
" name: 'Hello, TypeScript!' }\n" +
'{ role: \'admin\', permission: \'all\' }\n' +
'{\n foo: \'Testing Partial Type\',\n bar: 42,\n' +
' zoo: true,\n metadata: undefined\n' +
'}\n');
strictEqual(result.code, 0);
});

Expand Down

0 comments on commit f5ef1e0

Please sign in to comment.