@@ -159209,6 +159209,106 @@ ArboristNode {
159209159209}
159210159210`
159211159211
159212+ exports[`test/arborist/build-ideal-tree.js TAP workspaces should allow adding a workspace as a dep to a workspace > must match snapshot 1`] = `
159213+ ArboristNode {
159214+ "children": Map {
159215+ "workspace-a" => ArboristLink {
159216+ "edgesIn": Set {
159217+ EdgeIn {
159218+ "from": "",
159219+ "name": "workspace-a",
159220+ "spec": "file:{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-a",
159221+ "type": "workspace",
159222+ },
159223+ },
159224+ "isWorkspace": true,
159225+ "location": "node_modules/workspace-a",
159226+ "name": "workspace-a",
159227+ "path": "{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/node_modules/workspace-a",
159228+ "realpath": "{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-a",
159229+ "resolved": "file:../workspace-a",
159230+ "target": ArboristNode {
159231+ "location": "workspace-a",
159232+ },
159233+ "version": "1.0.0",
159234+ },
159235+ "workspace-b" => ArboristLink {
159236+ "edgesIn": Set {
159237+ EdgeIn {
159238+ "from": "",
159239+ "name": "workspace-b",
159240+ "spec": "file:{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-b",
159241+ "type": "workspace",
159242+ },
159243+ EdgeIn {
159244+ "from": "workspace-a",
159245+ "name": "workspace-b",
159246+ "spec": "*",
159247+ "type": "prod",
159248+ },
159249+ },
159250+ "isWorkspace": true,
159251+ "location": "node_modules/workspace-b",
159252+ "name": "workspace-b",
159253+ "path": "{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/node_modules/workspace-b",
159254+ "realpath": "{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-b",
159255+ "resolved": "file:../workspace-b",
159256+ "target": ArboristNode {
159257+ "location": "workspace-b",
159258+ },
159259+ "version": "1.0.0",
159260+ },
159261+ },
159262+ "edgesOut": Map {
159263+ "workspace-a" => EdgeOut {
159264+ "name": "workspace-a",
159265+ "spec": "file:{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-a",
159266+ "to": "node_modules/workspace-a",
159267+ "type": "workspace",
159268+ },
159269+ "workspace-b" => EdgeOut {
159270+ "name": "workspace-b",
159271+ "spec": "file:{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-b",
159272+ "to": "node_modules/workspace-b",
159273+ "type": "workspace",
159274+ },
159275+ },
159276+ "fsChildren": Set {
159277+ ArboristNode {
159278+ "edgesOut": Map {
159279+ "workspace-b" => EdgeOut {
159280+ "name": "workspace-b",
159281+ "spec": "*",
159282+ "to": "node_modules/workspace-b",
159283+ "type": "prod",
159284+ },
159285+ },
159286+ "isWorkspace": true,
159287+ "location": "workspace-a",
159288+ "name": "workspace-a",
159289+ "path": "{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-a",
159290+ "version": "1.0.0",
159291+ },
159292+ ArboristNode {
159293+ "isWorkspace": true,
159294+ "location": "workspace-b",
159295+ "name": "workspace-b",
159296+ "path": "{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace/workspace-b",
159297+ "version": "1.0.0",
159298+ },
159299+ },
159300+ "isProjectRoot": true,
159301+ "location": "",
159302+ "name": "tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace",
159303+ "packageName": "root",
159304+ "path": "{CWD}/test/arborist/tap-testdir-build-ideal-tree-workspaces-should-allow-adding-a-workspace-as-a-dep-to-a-workspace",
159305+ "workspaces": Map {
159306+ "workspace-a" => "workspace-a",
159307+ "workspace-b" => "workspace-b",
159308+ },
159309+ }
159310+ `
159311+
159212159312exports[`test/arborist/build-ideal-tree.js TAP workspaces should ignore nested node_modules folders > expect resolving Promise 1`] = `
159213159313ArboristNode {
159214159314 "children": Map {
0 commit comments