interface DescribeDefinition
extends Omit<Deno.TestDefinition, "fn">
The options for creating a test suite with the describe function.
Type Parameters
TProperties
optional
fn: () => voidThe describe function returns a TestSuite representing the group of tests.
If describe is called within another describe calls fn, the suite will default to that parent describe calls returned TestSuite.
If describe is not called within another describe calls fn, the suite will default to the TestSuite representing the global group of tests.
Run some shared setup before all of the tests in the suite.
Run some shared teardown after all of the tests in the suite.
optional
beforeEach: Run some shared setup before each test in the suite.