Skip to content
GitHub

TestingModuleInitOptions

interface in meocord/testing Since 4.1.0

interface TestingModuleInitOptions

How TestingModule.init prepares the module.

Members

ready

ready?: boolean | { client?: Client<true>; primary?: boolean }

Also runs every onReady hook, once, in dependency order, as the bot does once it is online. true hands each hook a mock client from createMockClient and { primary: true }; an object sets either.

Default: false