MCPcopy Index your code
hub / github.com/angular/angular / expectArrayInsert2

Function expectArrayInsert2

packages/core/test/util/array_utils_spec.ts:61–64  ·  view source on GitHub ↗
(array: any[], index: number, value1: any, value2: any)

Source from the content-addressed store, hash-verified

59 }
60
61 function expectArrayInsert2(array: any[], index: number, value1: any, value2: any) {
62 arrayInsert2(array, index, value1, value2);
63 return expect(array);
64 }
65
66 it('should insert items', () => {
67 expectArrayInsert([], 0, 'A').toEqual(['A']);

Callers 1

Calls 1

arrayInsert2Function · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…