@playwright/experimental-ct-react17 1.41.0-alpha-dec-11-2023 → 1.41.0-alpha-dec-13-2023
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/index.d.ts +3 -0
- package/index.js +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -62,5 +62,8 @@ export const test: TestType<
|
|
|
62
62
|
export function defineConfig(config: PlaywrightTestConfig): PlaywrightTestConfig;
|
|
63
63
|
export function defineConfig<T>(config: PlaywrightTestConfig<T>): PlaywrightTestConfig<T>;
|
|
64
64
|
export function defineConfig<T, W>(config: PlaywrightTestConfig<T, W>): PlaywrightTestConfig<T, W>;
|
|
65
|
+
export function defineConfig(config: PlaywrightTestConfig, ...configs: PlaywrightTestConfig[]): PlaywrightTestConfig;
|
|
66
|
+
export function defineConfig<T>(config: PlaywrightTestConfig<T>, ...configs: PlaywrightTestConfig[]): PlaywrightTestConfig<T>;
|
|
67
|
+
export function defineConfig<T, W>(config: PlaywrightTestConfig<T, W>, ...configs: PlaywrightTestConfig[]): PlaywrightTestConfig<T, W>;
|
|
65
68
|
|
|
66
69
|
export { expect, devices } from 'playwright/test';
|
package/index.js
CHANGED
|
@@ -24,6 +24,6 @@ const plugin = () => {
|
|
|
24
24
|
path.join(__dirname, 'registerSource.mjs'),
|
|
25
25
|
() => import('@vitejs/plugin-react').then(plugin => plugin.default()));
|
|
26
26
|
};
|
|
27
|
-
const defineConfig = config => originalDefineConfig({ ...config, _plugins: [plugin] });
|
|
27
|
+
const defineConfig = (config, ...configs) => originalDefineConfig({ ...config, _plugins: [plugin] }, ...configs);
|
|
28
28
|
|
|
29
29
|
module.exports = { test, expect, devices, defineConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playwright/experimental-ct-react17",
|
|
3
|
-
"version": "1.41.0-alpha-dec-
|
|
3
|
+
"version": "1.41.0-alpha-dec-13-2023",
|
|
4
4
|
"description": "Playwright Component Testing for React",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@playwright/experimental-ct-core": "1.41.0-alpha-dec-
|
|
32
|
+
"@playwright/experimental-ct-core": "1.41.0-alpha-dec-13-2023",
|
|
33
33
|
"@vitejs/plugin-react": "^4.0.0"
|
|
34
34
|
},
|
|
35
35
|
"bin": {
|