Lines Matching refs:npmFetch
7 const mockStars = async (t, { npmFetch = noop, exec = true, ...opts }) => { argument
12 'npm-registry-fetch': Object.assign(noop, realFetch, { json: npmFetch }),
28 const npmFetch = async (uri, opts) => {
43 const { result } = await mockStars(t, { npmFetch }) field
54 const npmFetch = async (uri, opts) => {
63 const { result } = await mockStars(t, { npmFetch, exec: ['ruyadorno'] }) property
73 const npmFetch = async () => { function
80 const { joinedOutput, stars, logs } = await mockStars(t, { npmFetch, exec: false }) property
102 const npmFetch = async () => {
106 const { stars, logs } = await mockStars(t, { npmFetch, exec: false }) property
118 const npmFetch = async () => ({ rows: [] })
120 const { logs } = await mockStars(t, { npmFetch }) field