comparadise-utils 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -7
- package/dist/match-screenshot.d.ts +8 -11
- package/dist/match-screenshot.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
1
|
/// <reference types="cypress" />
|
|
2
2
|
export declare function setupVisualTests(on: Cypress.PluginEvents, config: Cypress.PluginConfigOptions): Cypress.PluginConfigOptions;
|
|
3
|
-
declare global {
|
|
4
|
-
namespace Cypress {
|
|
5
|
-
interface Chainable {
|
|
6
|
-
matchScreenshot(args?: MatchScreenshotArgs): Chainable;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
/// <reference types="cypress" />
|
|
2
|
-
|
|
3
|
-
declare const SUFFIX_TEST_IDENTIFIER = ".spec.ts";
|
|
4
|
-
declare const SCREENSHOTS_FOLDER_NAME = "screenshots";
|
|
5
|
-
declare function forceFont(): false | HTMLStyleElement;
|
|
6
|
-
declare function getTestFolderPathFromScripts(rawName?: string): {
|
|
7
|
-
name: string;
|
|
8
|
-
screenshotsFolder: string;
|
|
9
|
-
};
|
|
10
|
-
declare function verifyImages(): void;
|
|
11
|
-
type MatchScreenshotArgs = {
|
|
2
|
+
export type MatchScreenshotArgs = {
|
|
12
3
|
rawName?: string;
|
|
13
4
|
options?: Partial<Cypress.ScreenshotOptions>;
|
|
14
5
|
};
|
|
15
|
-
declare
|
|
6
|
+
declare global {
|
|
7
|
+
namespace Cypress {
|
|
8
|
+
interface Chainable {
|
|
9
|
+
matchScreenshot(args?: MatchScreenshotArgs): Chainable;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/match-screenshot.js
CHANGED
package/package.json
CHANGED