MCPcopy Create free account
hub / github.com/npm/cli / file

Function file

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

no outgoing calls

Tested by

no test coverage detected