Lines Matching refs:result

112     result: () => mock.joinedOutput(),
133 const { result, ls } = await mockLs(t, {
149 cleanCwd(result()),
155 const { result, ls } = await mockLs(t, {
163 cleanCwd(result()),
173 const { result, ls } = await mockLs(t, {
205 t.matchSnapshot(cleanCwd(result()), 'should omit missing optional dep')
209 const { result, ls } = await mockLs(t, {
223 t.matchSnapshot(cleanCwd(result()), 'should output containing problems info')
230 const { result, ls } = await mockLs(t, {
266 t.matchSnapshot(cleanCwd(result()), 'should contain overridden outout')
274 const { result, ls } = await mockLs(t, {
308 t.matchSnapshot(cleanCwd(result()), 'should contain overridden outout')
315 const { result, ls } = await mockLs(t, {
331 cleanCwd(result()),
341 const { result, ls } = await mockLs(t, {
357 cleanCwd(result()),
363 const { result, ls } = await mockLs(t, {
379 cleanCwd(result()),
385 const { result, ls } = await mockLs(t, {
410 cleanCwd(result()),
417 const { result, ls } = await mockLs(t, {
432 t.matchSnapshot(cleanCwd(result()), 'should output tree containing no dependencies info')
440 const { result, ls } = await mockLs(t, {
455 t.matchSnapshot(cleanCwd(result()),
464 const { result, ls } = await mockLs(t, {
479 t.matchSnapshot(cleanCwd(result()),
488 const { result, ls } = await mockLs(t, {
542 cleanCwd(result()),
549 const { result, ls } = await mockLs(t, {
574 cleanCwd(result()),
583 const { result, ls } = await mockLs(t, {
598 t.matchSnapshot(cleanCwd(result()), 'should output tree containing color info')
602 const { result, ls } = await mockLs(t, {
628 t.matchSnapshot(cleanCwd(result()), 'should output tree containing dev deps')
635 const { result, ls } = await mockLs(t, {
669 t.matchSnapshot(cleanCwd(result()), 'should output tree containing linked deps')
673 const { result, ls } = await mockLs(t, {
705 t.matchSnapshot(cleanCwd(result()), 'should output tree containing linked deps')
709 const { result, ls } = await mockLs(t, {
733 t.matchSnapshot(cleanCwd(result()), 'should output tree containing production deps')
740 const { result, ls } = await mockLs(t, {
764 t.matchSnapshot(cleanCwd(result()), 'should output tree info with descriptions')
773 const { result, ls } = await mockLs(t, {
798 cleanCwd(result()),
804 const { result, ls } = await mockLs(t, {
811 t.matchSnapshot(cleanCwd(result()), 'should print empty result')
815 const { ls, result } = await mockLs(t)
817 t.matchSnapshot(cleanCwd(result()), 'should print empty result')
821 const { result, ls } = await mockLs(t, {
846 cleanCwd(result()),
855 const { result, ls } = await mockLs(t, {
887 cleanCwd(result()),
893 const { result, ls } = await mockLs(t, {
923 cleanCwd(result()),
929 const { result, ls } = await mockLs(t, {
946 t.matchSnapshot(cleanCwd(result()),
952 const { result, ls } = await mockLs(t, {
982 cleanCwd(result()),
988 const { result, ls } = await mockLs(t, {
1021 t.matchSnapshot(cleanCwd(result()), 'should print tree output containing deduped ref')
1026 const { result, ls } = await mockLs(t, {
1059 t.matchSnapshot(cleanCwd(result()), 'should print tree output containing deduped ref')
1063 const { result, ls } = await mockLs(t, {
1106 t.matchSnapshot(cleanCwd(result()), 'should print tree output containing deduped ref')
1114 const { result, ls } = await mockLs(t, {
1157 t.matchSnapshot(cleanCwd(result()), 'should print tree output containing deduped ref')
1162 const { result, ls } = await mockLs(t, {
1205 t.matchSnapshot(cleanCwd(result()), 'should print tree output containing deduped ref')
1209 const { result, ls } = await mockLs(t, {
1252 t.matchSnapshot(cleanCwd(result()), 'should print tree output containing deduped ref')
1256 const { npm, result, ls } = await mockLs(t, {
1296 t.matchSnapshot(cleanCwd(result()), 'should output tree containing aliases')
1300 const { npm, result, ls } = await mockLs(t, {
1345 t.matchSnapshot(cleanCwd(result()), 'should output tree containing git refs')
1349 const { result, ls } = await mockLs(t, {
1390 t.matchSnapshot(cleanCwd(result()), 'should NOT print git refs in output tree')
1394 const { npm, result, ls } = await mockLs(t, {
1442 t.matchSnapshot(cleanCwd(result()), 'should not be printed in tree output')
1449 const { result, ls } = await mockLs(t, {
1478 t.matchSnapshot(cleanCwd(result()),
1483 const { result, ls } = await mockLs(t, {
1532 cleanCwd(result()),
1539 const { result, ls } = await mockLs(t, {
1626 t.matchSnapshot(cleanCwd(result(), t), 'output')
1676 const { result, ls } = await mockLs(t, {
1727 t.matchSnapshot(cleanCwd(result(), t), 'output')
1735 t.test('should print expected result', t => mock(t, ['d'], null))
1742 const { result, ls } = await mockLs(t, {
1758 cleanCwd(result()),
1764 const { result, ls } = await mockLs(t, {
1772 cleanCwd(result()),
1778 const { result, ls } = await mockLs(t, {
1792 t.matchSnapshot(cleanCwd(result()), 'should output containing problems info')
1796 const { result, ls } = await mockLs(t, {
1830 t.matchSnapshot(cleanCwd(result()), 'should contain overridden outout')
1834 const { result, ls } = await mockLs(t, {
1850 cleanCwd(result()),
1856 const { result, ls } = await mockLs(t, {
1872 cleanCwd(result()),
1878 const { result, ls } = await mockLs(t, {
1903 cleanCwd(result()),
1910 const { result, ls } = await mockLs(t, {
1926 cleanCwd(result()),
1932 const { result, ls } = await mockLs(t, {
1948 cleanCwd(result()),
1954 const { result, ls } = await mockLs(t, {
1969 t.matchSnapshot(cleanCwd(result()),
1974 const { result, ls } = await mockLs(t, {
1990 cleanCwd(result()),
1996 const { result, ls } = await mockLs(t, {
2012 cleanCwd(result()),
2018 const { result, ls } = await mockLs(t, {
2045 t.matchSnapshot(cleanCwd(result()), 'should output tree containing dev deps')
2049 const { result, ls } = await mockLs(t, {
2086 t.matchSnapshot(cleanCwd(result()), 'should output tree containing linked deps')
2090 const { result, ls } = await mockLs(t, {
2117 t.matchSnapshot(cleanCwd(result()), 'should output tree containing production deps')
2121 const { result, ls } = await mockLs(t, {
2148 t.matchSnapshot(cleanCwd(result()), 'should output tree info with descriptions')
2152 const { result, ls } = await mockLs(t, {
2169 t.matchSnapshot(cleanCwd(result()), 'should output long parseable output with extraneous info')
2173 const { result, ls } = await mockLs(t, {
2192 cleanCwd(result()),
2193 'should output parseable result containing EXTRANEOUS/INVALID labels'
2198 const { result, ls } = await mockLs(t, {
2235 t.matchSnapshot(cleanCwd(result()), 'should output parseable results with symlink targets')
2239 const { result, ls } = await mockLs(t, {
2269 cleanCwd(result()),
2275 const { result, ls } = await mockLs(t, {
2284 t.matchSnapshot(cleanCwd(result()), 'should print empty result')
2288 const { ls, result } = await mockLs(t, {
2294 t.matchSnapshot(cleanCwd(result()), 'should print empty result')
2298 const { result, ls } = await mockLs(t, {
2325 cleanCwd(result()),
2331 const { result, ls } = await mockLs(t, {
2363 cleanCwd(result()),
2369 const { result, ls } = await mockLs(t, {
2404 t.matchSnapshot(cleanCwd(result()), 'should print tree output omitting deduped ref')
2408 const { npm, result, ls } = await mockLs(t, {
2446 t.matchSnapshot(cleanCwd(result()), 'should output tree containing aliases')
2450 const { npm, result, ls } = await mockLs(t, {
2496 t.matchSnapshot(cleanCwd(result()), 'should output tree containing git refs')
2500 const { npm, result, ls } = await mockLs(t, {
2550 t.matchSnapshot(cleanCwd(result()), 'should not be printed in tree output')
2554 const { result, ls } = await mockLs(t, {
2583 t.matchSnapshot(cleanCwd(result()), 'should print parseable output for global deps')
2589 const { result, ls } = await mockLs(t, {
2656 return config.json ? jsonParse(result()).problems : cleanCwd(result())
2660 const result = await mock(t, { json: true })
2661 t.matchSnapshot(result, 'ls --json problems')
2665 const result = await mock(t, { parseable: true })
2666 t.matchSnapshot(result, 'ls --parseable result')
2670 const result = await mock(t)
2671 t.matchSnapshot(result, 'ls result')
2678 const { result, ls } = await mockLs(t, {
2696 jsonParse(result()),
2722 const { result, ls } = await mockLs(t, {
2732 jsonParse(result()),
2776 const { result, ls } = await mockLs(t, {
2793 jsonParse(result()),
2826 const { result, ls } = await mockLs(t, {
2862 t.same(JSON.parse(result()), {
2882 const { result, ls } = await mockLs(t, {
2911 jsonParse(result()),
2922 const { result, ls } = await mockLs(t, {
2940 jsonParse(result()),
2957 const { result, ls } = await mockLs(t, {
2975 jsonParse(result()),
2994 t.notOk(jsonParse(result()).dependencies.chai)
2998 const { result, ls } = await mockLs(t, {
3025 jsonParse(result()),
3052 const { result, ls } = await mockLs(t, {
3070 jsonParse(result()),
3081 const { result, ls } = await mockLs(t, {
3100 jsonParse(result()),
3120 const { result, ls } = await mockLs(t, {
3140 jsonParse(result()),
3160 const { result, ls } = await mockLs(t, {
3180 jsonParse(result()),
3206 const { result, ls } = await mockLs(t, {
3224 jsonParse(result()),
3277 const { result, ls } = await mockLs(t, {
3305 jsonParse(result()),
3333 const { result, ls } = await mockLs(t, {
3371 jsonParse(result()),
3388 const { result, ls } = await mockLs(t, {
3416 jsonParse(result()),
3446 const { result, ls } = await mockLs(t, {
3558 jsonParse(result()),
3598 const { result, ls } = await mockLs(t, {
3626 jsonParse(result()),
3744 const { result, ls } = await mockLs(t, {
3774 jsonParse(result()),
3852 const { result, ls } = await mockLs(t, {
3866 jsonParse(result()),
3881 'should print empty json result'
3886 const { ls, result } = await mockLs(t, { config: json })
3888 t.same(jsonParse(result()), {}, 'should print empty json result')
3892 const { result, ls } = await mockLs(t, {
3919 jsonParse(result()),
3981 const { result, ls } = await mockLs(t, {
4013 jsonParse(result()),
4077 const { result, ls } = await mockLs(t, {
4113 jsonParse(result()),
4140 const { npm, result, ls } = await mockLs(t, {
4178 jsonParse(result()),
4195 const { npm, result, ls } = await mockLs(t, {
4244 jsonParse(result()),
4262 const { npm, result, ls } = await mockLs(t, {
4327 jsonParse(result()),
4344 const { result, ls } = await mockLs(t, {
4356 jsonParse(result()),
4361 'should use node.name as key in json result obj'
4366 const { result, ls } = await mockLs(t, {
4399 jsonParse(result()),
4425 const { result, ls } = await mockLs(t, {
4469 t.matchSnapshot(cleanCwd(result()), 'ls result')
4479 const { result, ls } = await mockLs(t, {
4513 jsonParse(result()),
4539 const { result, ls } = await mockLs(t, {
4572 jsonParse(result()),
4594 const { result, ls } = await mockLs(t, {
4634 jsonParse(result()),
4644 const { result, ls } = await mockLs(t, {
4681 jsonParse(result()),
4698 const { result, ls } = await mockLs(t, {
4735 jsonParse(result()),
4757 const { result, ls } = await mockLs(t, {
4795 jsonParse(result()),
4822 const { result, ls } = await mockLs(t, {
4856 jsonParse(result()),
4867 const { result, ls } = await mockLs(t, {
4902 jsonParse(result()),
4922 const { result, ls } = await mockLs(t, {
4958 jsonParse(result()),
4978 const { result, ls } = await mockLs(t, {
5014 jsonParse(result()),
5040 const { result, ls } = await mockLs(t, {
5074 jsonParse(result()),
5117 const { result, ls } = await mockLs(t, {
5206 jsonParse(result()),
5238 const { result, ls } = await mockLs(t, {
5263 jsonParse(result()),
5280 const { result, ls } = await mockLs(t, {
5311 jsonParse(result()),