From bd95e6173f3a2574ef82daf25d17625dab3971b0 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Tue, 30 Jun 2020 06:50:11 +0530 Subject: [PATCH] tests: update stats test case assertion --- test/no-stats/with-config/{a.js => main.js} | 0 test/stats/cli-flags/stats.test.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename test/no-stats/with-config/{a.js => main.js} (100%) diff --git a/test/no-stats/with-config/a.js b/test/no-stats/with-config/main.js similarity index 100% rename from test/no-stats/with-config/a.js rename to test/no-stats/with-config/main.js diff --git a/test/stats/cli-flags/stats.test.js b/test/stats/cli-flags/stats.test.js index dc3d37ac515..3dab024c937 100644 --- a/test/stats/cli-flags/stats.test.js +++ b/test/stats/cli-flags/stats.test.js @@ -23,7 +23,7 @@ describe('stats flag', () => { const { stderr, stdout } = run(__dirname, ['--stats']); expect(stderr).toBeFalsy(); if (version.startsWith('5')) { - expect(stdout).toContain(`stats: {}`); + expect(stdout).toContain(`stats: { preset: 'normal' }`); } else { expect(stdout).toContain('stats: true'); }