()
| 13 | context: 'Context', |
| 14 | }; |
| 15 | function createGrowableSharedArrayBufferView() { |
| 16 | const buffer = new SharedArrayBuffer(4, { maxByteLength: 8 }); |
| 17 | const view = new Uint8Array(buffer); |
| 18 | assert.strictEqual(view.buffer.growable, true); |
| 19 | return view; |
| 20 | } |
| 21 | |
| 22 | function assertInvalidArgType(fn) { |
| 23 | assert.throws(fn, { |
no outgoing calls
no test coverage detected
searching dependent graphs…