@nice2dev/testing 1.0.21 → 1.0.23
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 +3 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { BrowserContext } from '@playwright/test';
|
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
3
|
import { expect } from 'vitest';
|
|
4
4
|
import * as fc from 'fast-check';
|
|
5
|
-
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
6
5
|
import { Page } from '@playwright/test';
|
|
7
6
|
import * as React_2 from 'react';
|
|
8
7
|
import { ReactElement } from 'react';
|
|
@@ -364,7 +363,7 @@ export declare function createRTLDecorator(): (Story: React_2.ComponentType, con
|
|
|
364
363
|
globals: {
|
|
365
364
|
direction?: string;
|
|
366
365
|
};
|
|
367
|
-
}) =>
|
|
366
|
+
}) => React_2.JSX.Element;
|
|
368
367
|
|
|
369
368
|
/**
|
|
370
369
|
* Create test context with common utilities
|
|
@@ -397,7 +396,7 @@ export declare function createThemeDecorator(): (Story: React_2.ComponentType, c
|
|
|
397
396
|
globals: {
|
|
398
397
|
theme?: string;
|
|
399
398
|
};
|
|
400
|
-
}) =>
|
|
399
|
+
}) => React_2.JSX.Element;
|
|
401
400
|
|
|
402
401
|
/**
|
|
403
402
|
* Helper to create .storybook/preview.ts content
|
|
@@ -413,7 +412,7 @@ export declare function createVisualTestDecorator(): (Story: React_2.ComponentTy
|
|
|
413
412
|
direction?: string;
|
|
414
413
|
reducedMotion?: boolean;
|
|
415
414
|
};
|
|
416
|
-
}) =>
|
|
415
|
+
}) => React_2.JSX.Element;
|
|
417
416
|
|
|
418
417
|
export declare const DEFAULT_BREAKPOINTS: [string, number][];
|
|
419
418
|
|