()
| 26 | |
| 27 | const storage = new AsyncLocalStorage(); |
| 28 | async function test() { |
| 29 | return storage.run({ test: 'main context' }, common.mustCall(async () => { |
| 30 | assert.strictEqual(storage.getStore().test, 'main context'); |
| 31 | await 42; |
| 32 | assert.strictEqual(storage.getStore().test, 'main context'); |
| 33 | })); |
| 34 | } |
| 35 | test(); |
no test coverage detected