From 8466f1d32eac15206c88f6c58d80e8179c0a68d5 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Wed, 4 Oct 2023 15:16:05 +0200 Subject: [PATCH] fix: tests using wrong `pkg-fetch` package --- test/test-42-fetch-all/main.js | 4 ++-- test/test-50-bakery-fetch/main.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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());