@@ -285,6 +285,15 @@ export interface StencilConfig {
285285
286286 globalScript ?: string ;
287287 srcIndexHtml ?: string ;
288+ /**
289+ * Configuration for Stencil's integrated testing (Jest + Puppeteer).
290+ *
291+ * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
292+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
293+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
294+ * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
295+ * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
296+ */
288297 testing ?: TestingConfig ;
289298 maxConcurrentWorkers ?: number ;
290299 preamble ?: string ;
@@ -1899,6 +1908,13 @@ export interface RollupOutputOptions {
18991908 globals ?: { [ name : string ] : string } | ( ( name : string ) => string ) ;
19001909}
19011910
1911+ /**
1912+ * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
1913+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
1914+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
1915+ * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
1916+ * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
1917+ */
19021918export interface Testing {
19031919 run ( opts : TestingRunOptions ) : Promise < boolean > ;
19041920 destroy ( ) : Promise < void > ;
@@ -1909,6 +1925,12 @@ export declare type TransformerConfig = [string, Record<string, unknown>];
19091925
19101926/**
19111927 * Options for initiating a run of Stencil tests (spec and/or end-to-end)
1928+ *
1929+ * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
1930+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
1931+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
1932+ * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
1933+ * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
19121934 */
19131935export interface TestingRunOptions {
19141936 /**
@@ -1929,6 +1951,13 @@ export interface TestingRunOptions {
19291951 updateScreenshot ?: boolean ;
19301952}
19311953
1954+ /**
1955+ * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
1956+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
1957+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
1958+ * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
1959+ * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
1960+ */
19321961export interface JestConfig {
19331962 /**
19341963 * This option tells Jest that all imported modules in your tests should be mocked automatically.
@@ -2061,6 +2090,15 @@ export interface JestConfig {
20612090 watchPathIgnorePatterns ?: any [ ] ;
20622091}
20632092
2093+ /**
2094+ * Configuration for Stencil's integrated testing (Jest + Puppeteer).
2095+ *
2096+ * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
2097+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
2098+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
2099+ * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
2100+ * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
2101+ */
20642102export interface TestingConfig extends JestConfig {
20652103 /**
20662104 * The `allowableMismatchedPixels` value is used to determine an acceptable
@@ -2168,6 +2206,13 @@ export interface TestingConfig extends JestConfig {
21682206 waitBeforeScreenshot ?: number ;
21692207}
21702208
2209+ /**
2210+ * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
2211+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
2212+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
2213+ * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
2214+ * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
2215+ */
21712216export interface EmulateConfig {
21722217 /**
21732218 * Predefined device descriptor name, such as "iPhone X" or "Nexus 10".
@@ -2183,6 +2228,13 @@ export interface EmulateConfig {
21832228 viewport ?: EmulateViewport ;
21842229}
21852230
2231+ /**
2232+ * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
2233+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
2234+ * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
2235+ * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
2236+ * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
2237+ */
21862238export interface EmulateViewport {
21872239 /**
21882240 * Page width in pixels.
0 commit comments