diff --git a/tests/smoke.test.cjs b/tests/smoke.test.cjs index 2d90154..4442442 100644 --- a/tests/smoke.test.cjs +++ b/tests/smoke.test.cjs @@ -839,7 +839,9 @@ check('every installed source-map-js copy is 1.x >= 1.2.2 and round-trips a mapp }); // The call that broke under the blanket override: each minimatch copy must -// still expand braces through its own brace-expansion major. +// still expand braces through its own brace-expansion major. The 11.x copies +// are the dependencies declared by glob 14 (#190): installed, but never loaded, +// since glob 14 loads a build that bundles its own minimatch. check('every installed minimatch copy still matches globs and braces', () => { const copies = installedCopies('minimatch'); const majors = [...new Set(copies.map((c) => majorOf(c.version)))].sort(); @@ -876,9 +878,12 @@ check('every installed glob copy is 7.x or >= 14.0.2', () => { ); }); -// glob 14 matches through minimatch 11, and the Expo tooling ignores folders -// with an extglob (@expo/config-plugins ios/Paths, @expo/metro-config -// getWatchFolders): each glob 14 copy must still honor it. +// glob 14 loads dist/commonjs/index.min.js, which bundles its own minimatch, +// path-scurry and lru-cache: the nested minimatch 11, path-scurry 3, lru-cache +// 11 and @isaacs/nonrecursive-glob-match entries are installed but never +// loaded. The matching therefore lives inside glob itself, and the Expo tooling +// ignores folders with an extglob (@expo/config-plugins ios/Paths, +// @expo/metro-config getWatchFolders): each glob 14 copy must still honor it. check('every glob 14 copy honors the extglob ignore used by the Expo tooling', () => { const copies = installedCopies('glob').filter((c) => majorOf(c.version) === '14'); assert.ok(copies.length > 0, 'no glob 14 copy is installed');