-
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 pull request #150 from unipept/fix/colorprovider-call-wrong
Fix `ColorProvider` option is only called for the root level
- Loading branch information
Showing
14 changed files
with
91 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,8 @@ | |
data, | ||
{ | ||
width: 900, | ||
height: 600 | ||
height: 600, | ||
colorProviderLevels: 3 | ||
} | ||
); | ||
}); | ||
|
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
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>; |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import * as d3 from "d3"; | ||
export default class TooltipUtilities { | ||
static initTooltip(elementId: string): d3.Selection<HTMLDivElement, unknown, HTMLElement, any>; | ||
static initTooltip(): d3.Selection<HTMLDivElement, unknown, HTMLElement, any>; | ||
} |
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