catdad / grandma

👵 fully programmable stress testing framework
20 stars 4 forks source link

afterAll executes with the wrong context #178

Open catdad opened 6 years ago

catdad commented 6 years ago

If the context is modified in the thread tasks (beforeEach, test, and afterEach), the context object of the afterAll method will be wrong. The context will be the context object as it existed in the beforeAll method... the modified context is never shared back to the parent.