(value)
| 25 | } |
| 26 | function getTime() { return (new Date()).getTime(); } |
| 27 | function stringify(value) { |
| 28 | return JSON.stringify(value, (key, value) => { |
| 29 | if (typeof (value) === "bigint") { |
| 30 | return { type: "bigint", value: value.toString() }; |
| 31 | } |
| 32 | return value; |
| 33 | }); |
| 34 | } |
| 35 | ; |
| 36 | const defaultConfig = { stallTimeout: 400, priority: 1, weight: 1 }; |
| 37 | const defaultState = { |
no test coverage detected