-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod.ts
50 lines (47 loc) · 2.28 KB
/
mod.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Tests
export { expect } from './lib/expectation/expectation.ts';
export { it } from './lib/step/step.ts';
export { describe } from './lib/suite/suite.ts';
export { mod } from './lib/module/module.ts';
export { pack } from './lib/package/package.ts';
// Assertions
export { default as not } from './lib/assertions/not/not.ts';
export { default as toAlmostEqual } from './lib/assertions/to-almost-equal/to-almost-equal.ts';
export { default as toBe } from './lib/assertions/to-be/to-be.ts';
export { default as toBeGreaterThan } from './lib/assertions/to-be-greater-than/to-be-greater-than.ts';
export { default as toBeGreaterThanOrEqual } from './lib/assertions/to-be-greater-than-or-equal/to-be-greater-than-or-equal.ts';
export { default as toBeInstanceOf } from './lib/assertions/to-be-instance-of/to-be-instance-of.ts';
export { default as toBeLessThan } from './lib/assertions/to-be-less-than/to-be-less-than.ts';
export { default as toBeLessThanOrEqual } from './lib/assertions/to-be-less-than-or-equal/to-be-less-than-or-equal.ts';
export { default as toContainElement } from './lib/assertions/to-contain-element/to-contain-element.ts';
export { default as toContainString } from './lib/assertions/to-contain-string/to-contain-string.ts';
export { default as toEqual } from './lib/assertions/to-equal/to-equal.ts';
export { default as toExist } from './lib/assertions/to-exist/to-exist.ts';
export { default as toMatch } from './lib/assertions/to-match/to-match.ts';
export { default as toMatchObject } from './lib/assertions/to-match-object/to-match-object.ts';
export { default as toReject } from './lib/assertions/to-reject/to-reject.ts';
export { default as toThrow } from './lib/assertions/to-throw/to-throw.ts';
// Test runner
export * as run from './lib/run-tests/run-tests.ts';
// types
export type {
Confirm,
ConfirmAsync,
ConfirmResult,
Assert,
AssertOptional,
AssertVoid
} from './lib/types/assert.types.ts';
export type { PackageRunner } from './lib/package/package.ts';
export type { ModuleRunner } from './lib/module/module.ts';
export type { SuiteRunner } from './lib/suite/suite.ts';
export type { StepRunner } from './lib/step/step.ts';
export type {
TestRunner,
PathGetter,
FileMatcher,
ModuleImporter,
Entry,
TestModule,
TestRunnerOptions
} from './lib/run-tests/run-tests.ts';