From 579aebcfd4bc573173e70cfa56d73eb8901741f6 Mon Sep 17 00:00:00 2001 From: Houssein Djirdeh Date: Mon, 5 Apr 2021 14:23:47 -0400 Subject: [PATCH] fixes integration test --- test/integration/eslint/test/index.test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/integration/eslint/test/index.test.js b/test/integration/eslint/test/index.test.js index 06abdd4d1ac68..9467a431ba1bc 100644 --- a/test/integration/eslint/test/index.test.js +++ b/test/integration/eslint/test/index.test.js @@ -14,9 +14,11 @@ describe('ESLint', () => { }) expect(stderr).toContain( - `It looks like you're trying to use ESLint but do not have the required package(s) installed.` + `It looks like you're trying to use ESLint but do not have the following required package(s) installed:` + ) + expect(stderr).toContain( + 'Please install all required dependencies by running:' ) - expect(stderr).toContain('Please install all missing dependencies by running:') expect(stderr).toContain('npx install-peerdeps --dev @next/eslint-config') expect(stderr).toContain( 'If you are not trying to use ESLint, please remove the .eslintrc file from your application.'