• Stub a @salesforce/core test context. This will mock out logging to a file, config file reading and writing, local and global path resolution, and http request using connection (soon)*.

    This is automatically stubbed in the global beforeEach 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: Always call restoreContext in your afterEach.


    Returns Record<string, SinonStub<any[], any>>


    const $$ = instantiateContext();

    beforeEach(() => {

    afterEach(() => {