chore(ct-angular): remove duplicate PlaywrightTestConfig type
This commit is contained in:
parent
16a0df1b60
commit
3449eb8e12
15
packages/playwright-ct-angular/index.d.ts
vendored
15
packages/playwright-ct-angular/index.d.ts
vendored
|
|
@ -15,26 +15,17 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
TestType,
|
Locator,
|
||||||
PlaywrightTestArgs,
|
PlaywrightTestArgs,
|
||||||
PlaywrightTestConfig as BasePlaywrightTestConfig,
|
|
||||||
PlaywrightTestOptions,
|
PlaywrightTestOptions,
|
||||||
PlaywrightWorkerArgs,
|
PlaywrightWorkerArgs,
|
||||||
PlaywrightWorkerOptions,
|
PlaywrightWorkerOptions,
|
||||||
Locator,
|
TestType,
|
||||||
} from '@playwright/test';
|
} from '@playwright/test';
|
||||||
import type { JsonObject } from '@playwright/experimental-ct-core/types/component';
|
import type { JsonObject } from '@playwright/experimental-ct-core/types/component';
|
||||||
import type { InlineConfig } from 'vite';
|
|
||||||
import type { Provider, Type } from '@angular/core';
|
import type { Provider, Type } from '@angular/core';
|
||||||
|
|
||||||
export type PlaywrightTestConfig<T = {}, W = {}> = Omit<BasePlaywrightTestConfig<T, W>, 'use'> & {
|
export type { PlaywrightTestConfig } from '@playwright/experimental-ct-core';
|
||||||
use?: BasePlaywrightTestConfig<T, W>['use'] & {
|
|
||||||
ctPort?: number;
|
|
||||||
ctTemplateDir?: string;
|
|
||||||
ctCacheDir?: string;
|
|
||||||
ctViteConfig?: InlineConfig | (() => Promise<InlineConfig>);
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
type ComponentEvents = Record<string, Function>;
|
type ComponentEvents = Record<string, Function>;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue