Skip to main content

TEST_CASE_CALLS

Constant TEST_CASE_CALLS 

Source
pub const TEST_CASE_CALLS: &[&str];
Expand description

Functions that declare one test case in the JavaScript test frameworks (Jest, Vitest, Mocha, Jasmine, node:test, Bun): it('title', fn), with .only, .skip, .each(table) and the like after it. Suites (describe) and hooks (beforeEach) are left out: they group or set up tests, while a test case is what a port carries over one by one.