| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 69c4bfd commit abec939
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,8 +24,8 @@ asyncLocalStorage.run(new Map(), () => { | |||
| 24 | 24 | ||
| 25 | 25 | process.nextTick(() => { | |
| 26 | 26 | assert.strictEqual(asyncLocalStorage.getStore(), undefined); | |
| 27 | - asyncLocalStorage.run(new Map(), () => { | ||
| 28 | - assert.notStrictEqual(asyncLocalStorage.getStore(), undefined); | ||
| 27 | + asyncLocalStorage.run(new Map().set('bar', 'foo'), () => { | ||
| 28 | + assert.strictEqual(asyncLocalStorage.getStore().get('bar'), 'foo'); | ||
| 29 | 29 | }); | |
| 30 | 30 | }); | |
| 31 | 31 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments