Skip to content

Commit

Permalink
chore: refactor tests to use mock registry
Browse files Browse the repository at this point in the history
Co-authored by @bdehamer
  • Loading branch information
wraithgar authored and lukekarrys committed Dec 17, 2022
1 parent bb2b23b commit b82c1a6
Show file tree
Hide file tree
Showing 8 changed files with 311 additions and 489 deletions.
4 changes: 2 additions & 2 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ graph LR;
libnpmpack-->npmcli-run-script["@npmcli/run-script"];
libnpmpack-->npmcli-template-oss["@npmcli/template-oss"];
libnpmpack-->pacote;
libnpmpublish-->libnpmpack;
libnpmpublish-->normalize-package-data;
libnpmpublish-->npm-package-arg;
libnpmpublish-->npm-registry-fetch;
libnpmpublish-->npmcli-eslint-config["@npmcli/eslint-config"];
libnpmpublish-->npmcli-mock-registry["@npmcli/mock-registry"];
libnpmpublish-->npmcli-template-oss["@npmcli/template-oss"];
libnpmpublish-->semver;
libnpmpublish-->ssri;
Expand Down Expand Up @@ -399,13 +399,13 @@ graph LR;
libnpmpack-->pacote;
libnpmpack-->spawk;
libnpmpack-->tap;
libnpmpublish-->libnpmpack;
libnpmpublish-->lodash.clonedeep;
libnpmpublish-->nock;
libnpmpublish-->normalize-package-data;
libnpmpublish-->npm-package-arg;
libnpmpublish-->npm-registry-fetch;
libnpmpublish-->npmcli-eslint-config["@npmcli/eslint-config"];
libnpmpublish-->npmcli-mock-registry["@npmcli/mock-registry"];
libnpmpublish-->npmcli-template-oss["@npmcli/template-oss"];
libnpmpublish-->semver;
libnpmpublish-->ssri;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14547,8 +14547,8 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/mock-registry": "^1.0.0",
"@npmcli/template-oss": "4.11.0",
"libnpmpack": "^5.0.6",
"lodash.clonedeep": "^4.5.0",
"nock": "^13.2.4",
"tap": "^16.3.2"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/mock-registry": "^1.0.0",
"@npmcli/template-oss": "4.11.0",
"libnpmpack": "^5.0.6",
"lodash.clonedeep": "^4.5.0",
"nock": "^13.2.4",
"tap": "^16.3.2"
Expand Down
Binary file not shown.
12 changes: 0 additions & 12 deletions workspaces/libnpmpublish/test/fixtures/tnock.js

This file was deleted.

6 changes: 0 additions & 6 deletions workspaces/libnpmpublish/test/index.js

This file was deleted.

Loading

0 comments on commit b82c1a6

Please sign in to comment.