Skip to content

Commit

Permalink
fix: adusting test request by code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-ifood committed Sep 13, 2024
1 parent 06554d2 commit 0d4dde4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/es-module/test-typescript.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,7 @@ test('execute a TypeScript file with union types', async () => {
]);

strictEqual(result.stderr, '');
match(result.stdout, /Hello, TypeScript!/);
match(result.stdout, /admin/);
match(result.stdout, /Testing Partial Type/);
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`)
strictEqual(result.code, 0);
});

Expand Down

0 comments on commit 0d4dde4

Please sign in to comment.