Commit 01c1aba
committed
Await async getAnnotations() in test
The test was not awaiting the Promise returned by the async
getAnnotations() method. This passed on Deno by coincidence,
but failed on Node.js because its test runner attaches internal
AsyncLocalStorage symbols to Promise objects, causing
Object.getOwnPropertySymbols() to return 2 instead of 0.1 parent cc782ee commit 01c1aba
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments