Skip to content
GitHub

CooldownStoreSuiteFramework

interface in meocord/testing Since 4.1.0

interface CooldownStoreSuiteFramework

The test framework testCooldownStore registers its cases with: its describe, it and expect.

Members

describe

describe: (name: string, body: () => void) => void

Groups the cases under the store's name.

it

it: (name: string, body: () => Promise<void>, timeout?: number) => void

Registers one case, with its timeout in milliseconds.

expect

expect: (actual: unknown) => Expectation

The framework's assertions; Vitest's and Jest's both fit.