Skip to content

Commit 5848324

Browse files
committed
chore: fix tests
- deleted: test/network/registry.js Test was not actually working anymore since the cwd it uses no longer exists (`node_modules/npm-registry-couchapp`) in the file system. Removing to clean up future test runs. - changed: test/tap/git-npmignore.js Just make sure the test commit in this file does not tries to use gpg signatures in case the user has that option active. - changed: test/tap/splat-with-only-prerelease-to-latest.js Updating comparing values to use `https` instead of `http`.
1 parent 9d34059 commit 5848324

File tree

3 files changed

+5
-73
lines changed

3 files changed

+5
-73
lines changed

test/network/registry.js

Lines changed: 0 additions & 68 deletions
This file was deleted.

test/tap/git-npmignore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function setup (cb) {
188188
if (er) return cb(er)
189189
if (stderr) return cb(new Error('git add . error: ' + stderr))
190190

191-
exec(git + ' commit -m boot', {cwd: dep}, commit)
191+
exec(git + ' commit -m boot --no-gpg-sign', {cwd: dep}, commit)
192192
}
193193

194194
function commit (er, _, stderr) {

test/tap/splat-with-only-prerelease-to-latest.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@ const testModule = {
2020
version: '1.0.0-a',
2121
dist: {
2222
shasum: 'da39a3ee5e6b4b0d3255bfef95601890afd80709',
23-
tarball: 'http://registry.npmjs.org/aproba/-/xyzzy-wibble-1.0.0-a.tgz'
23+
tarball: 'https://registry.npmjs.org/aproba/-/xyzzy-wibble-1.0.0-a.tgz'
2424
}
2525
},
2626
'1.1.0-a': {
2727
name: moduleName,
2828
version: '1.1.0-a',
2929
dist: {
3030
shasum: 'da39a3ee5e6b4b0d3255bfef95601890afd80709',
31-
tarball: 'http://registry.npmjs.org/aproba/-/xyzzy-wibble-1.1.0-a.tgz'
31+
tarball: 'https://registry.npmjs.org/aproba/-/xyzzy-wibble-1.1.0-a.tgz'
3232
}
3333
},
3434
'1.2.0-a': {
3535
name: moduleName,
3636
version: '1.2.0-a',
3737
dist: {
3838
shasum: 'da39a3ee5e6b4b0d3255bfef95601890afd80709',
39-
tarball: 'http://registry.npmjs.org/aproba/-/xyzzy-wibble-1.2.0-a.tgz'
39+
tarball: 'https://registry.npmjs.org/aproba/-/xyzzy-wibble-1.2.0-a.tgz'
4040
}
4141
},
4242
'1.3.0-a': {
4343
name: moduleName,
4444
version: '1.3.0-a',
4545
dist: {
4646
shasum: 'da39a3ee5e6b4b0d3255bfef95601890afd80709',
47-
tarball: 'http://registry.npmjs.org/aproba/-/xyzzy-wibble-1.3.0-a.tgz'
47+
tarball: 'https://registry.npmjs.org/aproba/-/xyzzy-wibble-1.3.0-a.tgz'
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)