From 68dc453b73b475930d76ee60ce192849aaf345bb Mon Sep 17 00:00:00 2001 From: Anshuman Verma Date: Fri, 8 Jan 2021 23:26:44 +0530 Subject: [PATCH] fix: tests --- test/help/help.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/help/help.test.js b/test/help/help.test.js index e5844fb7ada..56e863512f1 100644 --- a/test/help/help.test.js +++ b/test/help/help.test.js @@ -59,6 +59,7 @@ describe('help', () => { expect(stdout.match(/init\|c/g)).toHaveLength(1); expect(stdout.match(/loader\|l/g)).toHaveLength(1); expect(stdout.match(/plugin\|p/g)).toHaveLength(1); + expect(stdout.match(/migrate\|m/g)).toHaveLength(1); expect(stdout).toContain("To see list of all supported commands and options run 'webpack --help=verbose'."); expect(stdout).toContain('CLI documentation: https://webpack.js.org/api/cli/.'); expect(coloretteEnabled ? stripAnsi(stdout) : stdout).toContain('Made with ♥ by the webpack team.');