Skip to content

Commit

Permalink
chore(smoke-test): dont mock tarball for update request (#5913)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lukekarrys authored Nov 30, 2022
1 parent 681a45b commit 29dbd1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions smoke-tests/test/fixtures/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ module.exports = async (t, { testdir = {}, debug } = {}) => {
'--no-audit',
'--no-update-notifier',
'--loglevel=silly',
'--fetch-retries=0',
]
const [positionals, flags] = args.reduce((acc, arg) => {
if (arg.startsWith('-')) {
Expand Down
3 changes: 0 additions & 3 deletions smoke-tests/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,6 @@ t.test('basic', async t => {
const manifest = abbrevManifest()
await registry.package({
manifest: manifest,
tarballs: {
'1.1.1': join(paths.root, 'packages', 'abbrev-1.1.1'),
},
})

await npm('update', '--no-save')
Expand Down

0 comments on commit 29dbd1e

Please sign in to comment.