@elliemae/ds-test-utils 3.14.0-next.8 → 3.14.0-rc.0

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.
@@ -0,0 +1 @@
1
+ export { toHaveNoViolations, makeDSVirtualListTesteable, undoDSVirtualListTesteable } from './testeable-utils';
@@ -0,0 +1,9 @@
1
+ type MakeTesteableParams = {
2
+ overscan: number;
3
+ itemHeight: number;
4
+ parentHeight: number;
5
+ width?: number;
6
+ };
7
+ export declare const makeDSVirtualListTesteable: ({ overscan, itemHeight, parentHeight, width, }: MakeTesteableParams) => void;
8
+ export declare const undoDSVirtualListTesteable: () => Promise<void>;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { Result } from 'axe-core';
2
+ export declare const getMessageAndPass: (violations: Result[]) => {
3
+ message: () => string;
4
+ pass: true;
5
+ } | {
6
+ message: () => string;
7
+ pass: false;
8
+ };
@@ -0,0 +1 @@
1
+ export { toHaveNoViolations } from './toHaveNoViolations';
@@ -0,0 +1,2 @@
1
+ import type { Result } from 'axe-core';
2
+ export declare const reporter: (violToFormat: Result[]) => string;
@@ -0,0 +1,2 @@
1
+ import type { NodeResult, Result } from 'axe-core';
2
+ export declare const shouldIgnoreNodeViolation: (node: NodeResult, violation: Result) => boolean;
@@ -0,0 +1,12 @@
1
+ import type { AxeResults, Result } from 'axe-core';
2
+ export declare const toHaveNoViolations: {
3
+ toHaveNoViolations(results: AxeResults): {
4
+ message: () => string;
5
+ pass: true;
6
+ actual: Result[];
7
+ } | {
8
+ message: () => string;
9
+ pass: false;
10
+ actual: Result[];
11
+ };
12
+ };
@@ -0,0 +1,2 @@
1
+ export { toHaveNoViolations } from './axe-core';
2
+ export { makeDSVirtualListTesteable, undoDSVirtualListTesteable } from './DSVirtualList';
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-test-utils",
3
- "version": "3.14.0-next.8",
3
+ "version": "3.14.0-rc.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Test utilities",
6
6
  "files": [
@@ -38,7 +38,7 @@
38
38
  "axe-core": "4.5.1",
39
39
  "jest-axe": "7.0.0",
40
40
  "jest-matcher-utils": "29.2.2",
41
- "@elliemae/ds-system": "3.14.0-next.8"
41
+ "@elliemae/ds-system": "3.14.0-rc.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@testing-library/dom": "~8.19.0",