@datagrok-libraries/utils
Advanced tools
Comparing version 4.0.17 to 4.1.1
@@ -7,3 +7,3 @@ { | ||
"fullName": "Utils", | ||
"version": "4.0.17", | ||
"version": "4.1.1", | ||
"description": "Common utilities", | ||
@@ -10,0 +10,0 @@ "dependencies": { |
@@ -70,2 +70,9 @@ import * as DG from 'datagrok-api/dg'; | ||
export declare function isDialogPresent(dialogTitle: string): boolean; | ||
/** Expects an asynchronous {@link action} to throw an exception. Use {@link check} to perform | ||
* deeper inspection of the exception if necessary. | ||
* @param {function(): Promise<void>} action | ||
* @param {function(any): boolean} check | ||
* @return {Promise<void>} | ||
*/ | ||
export declare function expectExceptionAsync(action: () => Promise<void>, check?: (exception: any) => boolean): Promise<void>; | ||
/** | ||
@@ -72,0 +79,0 @@ * Universal test for viewers. It search viewers in DOM by tags: canvas, svg, img, input, h1, a |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
334086
2587