Skip to content

Commit 29dbd1e

Browse files
authored
chore(smoke-test): dont mock tarball for update request (#5913)
After 80c6c4a the hidden lockfile is no longer reset, so the `update` request in the smoke test only has to mock the manifest and not the tarball.
1 parent 681a45b commit 29dbd1e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

smoke-tests/test/fixtures/setup.js

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ module.exports = async (t, { testdir = {}, debug } = {}) => {
140140
'--no-audit',
141141
'--no-update-notifier',
142142
'--loglevel=silly',
143+
'--fetch-retries=0',
143144
]
144145
const [positionals, flags] = args.reduce((acc, arg) => {
145146
if (arg.startsWith('-')) {

smoke-tests/test/index.js

-3
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,6 @@ t.test('basic', async t => {
267267
const manifest = abbrevManifest()
268268
await registry.package({
269269
manifest: manifest,
270-
tarballs: {
271-
'1.1.1': join(paths.root, 'packages', 'abbrev-1.1.1'),
272-
},
273270
})
274271

275272
await npm('update', '--no-save')

0 commit comments

Comments
 (0)