-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
// test 2 - Failed: current is undefined <---
zone.current.fork({
name: 'api',
properties: {
id: 2
}
Full version:
https://github.com/nikolay-rogovoy/test_js/blob/master/src/main_2.js
Steps to reproduce:
- git clone https://github.com/nikolay-rogovoy/test_js.git
- cd test_js
- npm i
- npm run main_2
- send http request: get http://localhost:8000/api/test
- test 2 - Failed
Proposed Solution:
index.js
:
before(uid) {
if (zones[uid]) {
current = zones[uid];
} else {
zones[uid] = current;
}
},
Metadata
Metadata
Assignees
Labels
No labels