• Instantiate a @salesforce/core test context. This is automatically created by const $$ = testSetup() but is useful if you don't want to have a global stub of @salesforce/core and you want to isolate it to a single describe.

    Note: Call stubContext in your beforeEach to have clean stubs of @salesforce/core every test run.


    • Optional sinon: SinonStatic

    Returns TestContext


    const $$ = instantiateContext();

    beforeEach(() => {

    afterEach(() => {