diff --git a/test/test-42-fetch-all/main.js b/test/test-42-fetch-all/main.js index bc16f6fb9..ac47ecb10 100644 --- a/test/test-42-fetch-all/main.js +++ b/test/test-42-fetch-all/main.js @@ -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 = []; diff --git a/test/test-50-bakery-fetch/main.js b/test/test-50-bakery-fetch/main.js index 42e8f28e9..3d0c42de8 100644 --- a/test/test-50-bakery-fetch/main.js +++ b/test/test-50-bakery-fetch/main.js @@ -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());