diff --git a/workspaces/arborist/test/fixtures/index.js b/workspaces/arborist/test/fixtures/index.js index fdc5592c7dd8d..2317d3f4b0515 100644 --- a/workspaces/arborist/test/fixtures/index.js +++ b/workspaces/arborist/test/fixtures/index.js @@ -20,7 +20,11 @@ const roots = [ 'optofdev', 'other', 'root', - 'selflink', + // This test flakes out on Apple Silicon + // https://github.com/npm/cli/pull/7411 + process.platform === 'darwin' && process.arch === 'arm64' + ? null + : 'selflink', 'symlinked-node-modules/example', 'workspace', 'workspace2', @@ -35,7 +39,7 @@ const roots = [ 'link-dep-nested', 'link-dep-nested/root', 'external-link-cached-dummy-dep/root', -] +].filter(Boolean) const symlinks = { 'selflink/node_modules/@scope/z/node_modules/glob':