Skip to content

Commit 4dd41c9

Browse files
authored
chore(smoke-tests): loosen check on install count (#8280)
These are not consistent and can change if the packages being installed change. It's not worth trying to keep up w/ this exact number. We have other tests that ensure the components of install work properly. This is just a smoke test.
1 parent 4d5c3c1 commit 4dd41c9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

smoke-tests/test/large-install.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ const runTest = async (t, { lowMemory } = {}) => {
2929
// should be investigated.
3030
t.test('large install', async t => {
3131
const { stdout } = await runTest(t)
32-
// As a bonus this test asserts that this package-lock always
33-
// installs the same number of packages.
34-
t.match(stdout, `added 130${process.platform === 'win32' ? 7 : 6} packages in`)
32+
t.match(stdout, /added \d+ packages/)
3533
})
3634

3735
t.test('large install, no lock and low memory', async t => {

0 commit comments

Comments
 (0)