From a1bb4a2e677af3ce38f8afbcf4c52666aec0df8a Mon Sep 17 00:00:00 2001 From: Jonathan Kolberg Date: Sat, 4 Jun 2022 10:12:52 +0200 Subject: [PATCH] feat(node): allow executing esm compiled scripts --- e2e/node/src/node.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/node/src/node.test.ts b/e2e/node/src/node.test.ts index d0cfbf504a47d2..eba7defc501bbf 100644 --- a/e2e/node/src/node.test.ts +++ b/e2e/node/src/node.test.ts @@ -269,7 +269,7 @@ describe('Node Applications', () => { ); await runCLIAsync(`build ${esmapp}`); const { stdout } = await runCLIAsync(`serve ${esmapp}`); - expect(stdout).toBe('Hello World!'); + expect(stdout).toContain('Hello World!'); }, 300000); });