-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into fix/overwrite-id
- Loading branch information
Showing
11 changed files
with
59 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
examples | ||
docs | ||
.github | ||
jest-setup.js | ||
jest.config.js | ||
snapshotResolver.js | ||
unipept-visualizations.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export declare type ImageSnapshotSettings = { | ||
comparisonMethod: string; | ||
customSnapshotsDir: string; | ||
customDiffDir: string; | ||
failureThreshold: number; | ||
failureThresholdType: string; | ||
}; | ||
export default class TestConsts { | ||
static resolveImageSnapshotFolder(path: string): ImageSnapshotSettings; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default class TestDataGenerator { | ||
generateSmall2DDataset(): number[][]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export declare function sleep(ms: number): Promise<unknown>; | ||
/** | ||
* This function waits a specified amount of time for promises to be fullfilled before returning. | ||
* | ||
* @param ms How many ms should we wait before continueing test execution? | ||
*/ | ||
export declare function waitForPromises(ms: number): Promise<void>; | ||
/** | ||
* This function returns only when the given condition evaluates to true, or when the given timeout has been exceeded. | ||
* | ||
* @param condition | ||
* @param timeout | ||
* @param interval | ||
*/ | ||
export declare function waitForCondition(condition: () => boolean, timeout?: number, interval?: number): Promise<void>; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters