From 95e1df3c3b64d4c73840dc53c76fa012fe550cd4 Mon Sep 17 00:00:00 2001 From: nitedani Date: Fri, 26 Jul 2024 19:52:02 +0200 Subject: [PATCH] npmrc, improve test --- .npmrc | 1 + test/vike-node/.testRun.ts | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..c483022 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +shamefully-hoist=true \ No newline at end of file diff --git a/test/vike-node/.testRun.ts b/test/vike-node/.testRun.ts index e870ac3..11fb0e7 100644 --- a/test/vike-node/.testRun.ts +++ b/test/vike-node/.testRun.ts @@ -71,9 +71,7 @@ function testRun(cmd: 'npm run dev' | 'npm run prod') { expect(xTestHeader).toBe('test') }) - // fastify should work but broken on ci - // let's leave it out for now - if (!isProd && !(isCI() && process.env.VIKE_NODE_FRAMEWORK === 'fastify')) + if (!isProd) test('vite hmr websocket', async () => { const logs: string[] = [] page.on('console', (msg) => logs.push(msg.text()))