Skip to content

Commit

Permalink
fix: tests using wrong pkg-fetch package
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 4, 2023
1 parent 82dd270 commit 8466f1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/test-42-fetch-all/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
'use strict';

const assert = require('assert');
const fetch = require('pkg-fetch');
const dontBuild = require('pkg-fetch/lib-es5/upload.js').dontBuild;
const fetch = require('@yao-pkg/pkg-fetch');
const dontBuild = require('@yao-pkg/pkg-fetch/lib-es5/upload.js').dontBuild;
const knownPlatforms = fetch.system.knownPlatforms;
const items = [];

Expand Down
2 changes: 1 addition & 1 deletion test/test-50-bakery-fetch/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const path = require('path');
const assert = require('assert');
const utils = require('../utils.js');
const fetch = require('pkg-fetch');
const fetch = require('@yao-pkg/pkg-fetch');

assert(!module.parent);
assert(__dirname === process.cwd());
Expand Down

0 comments on commit 8466f1d

Please sign in to comment.