Restore a @salesforce/core test context. 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.

const $$ = instantiateContext();

beforeEach(() => {
$$.init()
});

afterEach(() => {
$$.restore();
});