Optional
sandbox?: SinonSandboxOptional
setup?: booleanOptional
sinon?: SinonStaticThe default sandbox is cleared out before each test run.
See [sinon sandbox]https://sinonjs.org/releases/v14/sandbox/.
An object of different sandboxes. Used when needing to restore parts of the system for customized testing.
The test logger that is used when Logger.child is used anywhere. It uses memory logging.
An object used in tests that interact with config files.
Optional
AuthOptional
Config?: ConfigStubOptional
OrgOptional
Sfid A unique id for the test run.
A record of stubs created during instantiation.
Gets a config stub contents by name.
The name of the config.
Optional
group: stringIf the config supports groups.
Sets a config stub contents by name
The name of the config stub.
The actual stub contents. The Mock data.
Stub salesforce org authorizations.
Rest
...orgs: MockTestOrgData[]Stub salesforce sandbox authorizations.
Rest
...sandboxes: MockTestSandboxData[]Stub salesforce user authorizations.
The users to stub. The key is the username of the admin user and it must be included in the users array in order to obtain the orgId key for the remaining users. The admin user is excluded from the users array.
Instantiate a @salesforce/core test context.