diff --git a/integration/nest-application/get-url/e2e/express.spec.ts b/integration/nest-application/get-url/e2e/express.spec.ts index 44c63adceb1..2261f696564 100644 --- a/integration/nest-application/get-url/e2e/express.spec.ts +++ b/integration/nest-application/get-url/e2e/express.spec.ts @@ -43,7 +43,7 @@ describe('Get URL (Express Application)', () => { await app.getUrl(); } catch (err) { expect(err).to.be.eql( - 'app.listen needs to be called before calling app.getUrl', + 'app.listen() needs to be called before calling app.getUrl()', ); } }); diff --git a/integration/nest-application/get-url/e2e/fastify.spec.ts b/integration/nest-application/get-url/e2e/fastify.spec.ts index 6be86b70798..c03adb4712b 100644 --- a/integration/nest-application/get-url/e2e/fastify.spec.ts +++ b/integration/nest-application/get-url/e2e/fastify.spec.ts @@ -36,7 +36,7 @@ describe('Get URL (Fastify Application)', () => { await app.getUrl(); } catch (err) { expect(err).to.be.eql( - 'app.listen needs to be called before calling app.getUrl', + 'app.listen() needs to be called before calling app.getUrl()', ); } });