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 {
|
||||
TestType,
|
||||
Locator,
|
||||
PlaywrightTestArgs,
|
||||
PlaywrightTestConfig as BasePlaywrightTestConfig,
|
||||
PlaywrightTestOptions,
|
||||
PlaywrightWorkerArgs,
|
||||
PlaywrightWorkerOptions,
|
||||
Locator,
|
||||
TestType,
|
||||
} from '@playwright/test';
|
||||
import type { JsonObject } from '@playwright/experimental-ct-core/types/component';
|
||||
import type { InlineConfig } from 'vite';
|
||||
import type { Provider, Type } from '@angular/core';
|
||||
|
||||
export type PlaywrightTestConfig<T = {}, W = {}> = Omit<BasePlaywrightTestConfig<T, W>, 'use'> & {
|
||||
use?: BasePlaywrightTestConfig<T, W>['use'] & {
|
||||
ctPort?: number;
|
||||
ctTemplateDir?: string;
|
||||
ctCacheDir?: string;
|
||||
ctViteConfig?: InlineConfig | (() => Promise<InlineConfig>);
|
||||
};
|
||||
};
|
||||
export type { PlaywrightTestConfig } from '@playwright/experimental-ct-core';
|
||||
|
||||
type ComponentEvents = Record<string, Function>;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue