diff --git a/e2e/node/src/node-server.test.ts b/e2e/node/src/node-server.test.ts index 1746945678d7de..fd824d7d1b18a8 100644 --- a/e2e/node/src/node-server.test.ts +++ b/e2e/node/src/node-server.test.ts @@ -1,5 +1,7 @@ import { checkFilesDoNotExist, + updateFile, + readFile, checkFilesExist, cleanupProject, killPort, @@ -11,6 +13,7 @@ import { uniq, updateFile, } from '@nrwl/e2e/utils'; +import { apps } from 'open'; describe('Node Applications + webpack', () => { beforeEach(() => newProject()); @@ -76,10 +79,12 @@ describe('Node Applications + webpack', () => { // Only Fastify generates with unit tests since it supports them without additional libraries. expect(() => runCLI(`lint ${fastifyApp}`)).not.toThrow(); + addLibImport(fastifyApp, utilLib); + await runE2eTests(expressApp); await runE2eTests(fastifyApp); await runE2eTests(koaApp); - }, 300_000); + }, 480_000); it('should generate a Dockerfile', async () => { const expressApp = uniq('expressapp');