()
| 12 | } |
| 13 | |
| 14 | function checkMutate() { |
| 15 | // Check that mutation to Error.stackTraceLimit is effective in the snapshot |
| 16 | // builder script. |
| 17 | assert.strictEqual(typeof Error.stackTraceLimit, 'number'); |
| 18 | Error.stackTraceLimit = 0; |
| 19 | assert.strictEqual(getError('', 30), 'Error'); |
| 20 | } |
| 21 | |
| 22 | setDeserializeMainFunction(() => { |
| 23 | // Check that the mutation is preserved in the deserialized main function. |
no test coverage detected
searching dependent graphs…