()
| 25 | } |
| 26 | |
| 27 | async function main() { |
| 28 | await asyncFunctionAfterAwait(); |
| 29 | await promiseThen(); |
| 30 | assert.strictEqual(als.getStore(), undefined); |
| 31 | |
| 32 | // This is a known limitation of the `enterWith` API. |
| 33 | await asyncFunctionBeforeAwait(); |
| 34 | assert.strictEqual(als.getStore(), 'before await'); |
| 35 | } |
| 36 | |
| 37 | main().then(common.mustCall()); |
no test coverage detected