MCPcopy Create free account
hub / github.com/JohnWeisz/TypedJSON / createTestArray

Function createTestArray

spec/array.spec.ts:135–147  ·  view source on GitHub ↗
(expected: boolean)

Source from the content-addressed store, hash-verified

133 }
134
135 function createTestArray(expected: boolean): Array<Array<IWithArrays>> {
136 return [
137 [],
138 [
139 createTestObject(expected),
140 createTestObject(expected),
141 ],
142 [],
143 [
144 createTestObject(expected),
145 ],
146 ];
147 }
148
149 it('deserializes', () => {
150 const testArray = JSON.stringify(createTestArray(false));

Callers 1

array.spec.tsFile · 0.70

Calls 1

createTestObjectFunction · 0.70

Tested by

no test coverage detected