1 | import { BaseContext } from './setup-context';
|
2 | declare class TestMetadata {
|
3 | [key: string]: any;
|
4 | testName?: string;
|
5 | setupTypes: string[];
|
6 | usedHelpers: string[];
|
7 | constructor();
|
8 | get isRendering(): boolean;
|
9 | get isApplication(): boolean;
|
10 | }
|
11 | export { TestMetadata as __TestMetadata, };
|
12 | export type {
|
13 | /**
|
14 | * A non-user-constructible interface representing the metadata associated
|
15 | * with a test, designed for test frameworks to use e.g. with their reporters.
|
16 | */
|
17 | TestMetadata, };
|
18 | /**
|
19 | * Gets the test metadata associated with the provided test context. Will create
|
20 | * a new test metadata object if one does not exist.
|
21 | *
|
22 | * @param {BaseContext} context the context to use
|
23 | * @returns {TestMetadata} the test metadata for the provided context
|
24 | */
|
25 | export default function getTestMetadata(context: BaseContext): TestMetadata;
|
26 | //# sourceMappingURL=test-metadata.d.ts.map |
\ | No newline at end of file |