mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-30 04:52:04 -04:00
test: fix test due to a package removed from the npm registry
This commit is contained in:
@@ -428,6 +428,11 @@ test('installation on a workspace with many complex circular dependencies does n
|
||||
ignoreScripts: true,
|
||||
lockfileOnly: true,
|
||||
strictPeerDependencies: false,
|
||||
registries: {
|
||||
// A temporary workaround due to stylus removal from the npm registry.
|
||||
// Related issue: https://github.com/stylus/stylus/issues/2938
|
||||
default: 'https://registry.npmmirror.com',
|
||||
},
|
||||
allProjects: [
|
||||
{
|
||||
buildIndex: 0,
|
||||
|
||||
@@ -11,6 +11,7 @@ export function testDefaults<T> (
|
||||
fastUnpack?: boolean
|
||||
storeDir?: string
|
||||
prefix?: string
|
||||
registries?: Registries
|
||||
},
|
||||
resolveOpts?: any, // eslint-disable-line
|
||||
fetchOpts?: any, // eslint-disable-line
|
||||
@@ -26,6 +27,7 @@ export function testDefaults<T> (
|
||||
const { storeController, storeDir, cacheDir } = createTempStore({
|
||||
...opts,
|
||||
clientOptions: {
|
||||
registries: opts?.registries,
|
||||
...resolveOpts,
|
||||
...fetchOpts,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user