From d2dd0c124e22a0900e27248eaf7b38c43fe3ebed Mon Sep 17 00:00:00 2001 From: Even Stensberg Date: Mon, 17 Feb 2020 09:19:16 +0100 Subject: [PATCH] tests(sourcemap): fix flaky stats statement (#1232) --- package-lock.json | 12 ++++++------ test/source-map/object/source-map-object.test.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 14d39671b7d..52ad9463320 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9335,9 +9335,9 @@ "optional": true }, "handlebars": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.2.tgz", - "integrity": "sha512-29Zxv/cynYB7mkT1rVWQnV7mGX6v7H/miQ6dbEpYTKq5eJBN7PsRB+ViYJlcT6JINTSu4dVB9kOqEun78h6Exg==", + "version": "4.7.3", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.3.tgz", + "integrity": "sha512-SRGwSYuNfx8DwHD/6InAPzD6RgeruWLT+B8e8a7gGs8FWgHzlExpTFMEq2IA6QpAfOClpKHy6+8IqTjeBCu6Kg==", "requires": { "neo-async": "^2.6.0", "optimist": "^0.6.1", @@ -16428,9 +16428,9 @@ "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==" }, "uglify-js": { - "version": "3.6.9", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.9.tgz", - "integrity": "sha512-pcnnhaoG6RtrvHJ1dFncAe8Od6Nuy30oaJ82ts6//sGSXOP5UjBMEthiProjXmMNHOfd93sqlkztifFMcb+4yw==", + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.7.tgz", + "integrity": "sha512-FeSU+hi7ULYy6mn8PKio/tXsdSXN35lm4KgV2asx00kzrLU9Pi3oAslcJT70Jdj7PHX29gGUPOT6+lXGBbemhA==", "optional": true, "requires": { "commander": "~2.20.3", diff --git a/test/source-map/object/source-map-object.test.js b/test/source-map/object/source-map-object.test.js index eea81c48407..b3e62be1777 100644 --- a/test/source-map/object/source-map-object.test.js +++ b/test/source-map/object/source-map-object.test.js @@ -7,7 +7,7 @@ describe('source-map object', () => { it('should not write a source map for obj config', done => { run(__dirname, ['-c', './webpack.eval.config.js']); readdir(resolve(__dirname, 'bin'), (err, files) => { - expect(files.length).toBe(1); + expect(files.length).toBeGreaterThanOrEqual(1); expect(err).toBe(null); done(); });