Skip to content

Commit d9271ad

Browse files
committed
fix: assertPublishNock
1 parent 2340e23 commit d9271ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/lib/commands/publish.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const pkgJson = {
1919
version: '1.0.0',
2020
}
2121

22-
const packageNock = (t, registry, name, {
22+
const assertPublishNock = (t, registry, name, {
2323
packageJson, access, noPut, putStatus, manifest,
2424
} = {}) => {
2525
const spec = npa(name)
@@ -37,8 +37,6 @@ const packageNock = (t, registry, name, {
3737
return registry.nock
3838
}
3939

40-
const assertPublishNock = packageNock
41-
4240
t.cleanSnapshot = data => cleanZlib(data)
4341

4442
t.test('respects publishConfig.registry, runs appropriate scripts', async t => {

0 commit comments

Comments
 (0)