MCPcopy Index your code
hub / github.com/nodejs/node / file

Function file

deps/npm/test/lib/commands/diff.js:922–922  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

920t.test('various options', async t => {
921 const mockOptions = async (t, config) => {
922 const file = (v) => new Array(50).fill(0).map((_, i) => `${i}${i === 20 ? v : ''}`).join('\n')
923 const mock = await mockDiff(t, {
924 diff: ['bar@2.0.0', 'bar@3.0.0'],
925 config,

Callers 1

mockOptionsFunction · 0.85

Calls 3

fillMethod · 0.80
mapMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…