Skip to content

Commit

Permalink
Publish ambient types
Browse files Browse the repository at this point in the history
  • Loading branch information
gitKrystan committed Jan 4, 2023
1 parent 2e12341 commit c021e6e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test-support/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
export default class TestLoader {
/** Instantiates a new TestLoader and loads the modules. */
static load(): void;

/**
* Can be overridden in order to customize the criteria for identifying test
* modules.
*/
shouldLoadModule(moduleName: string): boolean;

moduleLoadFailure(moduleName: string, error: unknown): void;

// Assumed private:
// loadModules(): void;
// listModules(): string[];
// listTestModules(): string[];
// require(moduleName: string): void;
// unsee(moduleName: string): void;
}

export function addModuleExcludeMatcher(
matcher: (moduleName: string) => boolean
): void;

export function addModuleIncludeMatcher(
matcher: (moduleName: string) => boolean
): void;

0 comments on commit c021e6e

Please sign in to comment.