You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@MoLow it looks like the SuiteContext language was added in 389b7e1. It doesn't look like SuiteContext exists in the code though. Should all references to SuiteContext be replaced with TestContext?
I think we should either change the docs to remove the use of SuiteContext since it doesn't really exist as a class or update the code to make it an actual class. I think updating the code would be easiest in this case.
Activity
Semigradsky commentedon Nov 27, 2022
But
TestContextis the first argument:cjihrig commentedon Nov 27, 2022
@MoLow it looks like the
SuiteContextlanguage was added in 389b7e1. It doesn't look likeSuiteContextexists in the code though. Should all references toSuiteContextbe replaced withTestContext?MoLow commentedon Nov 28, 2022
@cjihrig it is simply generated as an object literal
node/lib/internal/test_runner/test.js
Lines 739 to 741 in f8ce911
cjihrig commentedon Nov 29, 2022
I think we should either change the docs to remove the use of
SuiteContextsince it doesn't really exist as a class or update the code to make it an actual class. I think updating the code would be easiest in this case.lib: added SuiteContext class
debadree25 commentedon Nov 30, 2022
Have added PR for the same @cjihrig
lib: added SuiteContext class
lib: added SuiteContext class