Skip to content

Commit c1152e9

Browse files
committed
chore: disable selflink test
1 parent c77f035 commit c1152e9

File tree

1 file changed

+6
-2
lines changed
  • workspaces/arborist/test/fixtures

1 file changed

+6
-2
lines changed

workspaces/arborist/test/fixtures/index.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ const roots = [
2020
'optofdev',
2121
'other',
2222
'root',
23-
'selflink',
23+
// This test flakes out on Apple Silicon
24+
// https://github.com/npm/cli/pull/7411
25+
process.platform === 'darwin' && process.arch === 'arm64'
26+
? null
27+
: 'selflink',
2428
'symlinked-node-modules/example',
2529
'workspace',
2630
'workspace2',
@@ -35,7 +39,7 @@ const roots = [
3539
'link-dep-nested',
3640
'link-dep-nested/root',
3741
'external-link-cached-dummy-dep/root',
38-
]
42+
].filter(Boolean)
3943

4044
const symlinks = {
4145
'selflink/node_modules/@scope/z/node_modules/glob':

0 commit comments

Comments
 (0)