diff --git a/test/lib/commands/publish.js b/test/lib/commands/publish.js index a3e1b66be5273..412f51f8def78 100644 --- a/test/lib/commands/publish.js +++ b/test/lib/commands/publish.js @@ -19,7 +19,7 @@ const pkgJson = { version: '1.0.0', } -const packageNock = (t, registry, name, { +const assertPublishNock = (t, registry, name, { packageJson, access, noPut, putStatus, manifest, } = {}) => { const spec = npa(name) @@ -37,8 +37,6 @@ const packageNock = (t, registry, name, { return registry.nock } -const assertPublishNock = packageNock - t.cleanSnapshot = data => cleanZlib(data) t.test('respects publishConfig.registry, runs appropriate scripts', async t => {