Skip to content

Commit c2bcace

Browse files
committed
chore(e2e): formatting and lint fixes
1 parent e49bb58 commit c2bcace

26 files changed

Lines changed: 223 additions & 67 deletions

e2e/apps/angular/playwright.config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ export default defineConfig({
1010
baseURL: 'http://localhost:4180',
1111
trace: 'on-first-retry',
1212
},
13-
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], launchOptions: { args: ['--enable-features=DocumentPictureInPictureAPI'] } } }],
13+
projects: [
14+
{
15+
name: 'chromium',
16+
use: {
17+
...devices['Desktop Chrome'],
18+
launchOptions: {
19+
args: ['--enable-features=DocumentPictureInPictureAPI'],
20+
},
21+
},
22+
},
23+
],
1424
webServer: {
1525
command: 'pnpm run dev',
1626
url: 'http://localhost:4180',

e2e/apps/angular/src/app/app.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core'
1+
import {
2+
ApplicationConfig,
3+
provideBrowserGlobalErrorListeners,
4+
} from '@angular/core'
25

36
export const appConfig: ApplicationConfig = {
47
providers: [provideBrowserGlobalErrorListeners()],

e2e/apps/angular/src/app/devtools/demo-panel.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ import { ChangeDetectionStrategy, Component, input } from '@angular/core'
22

33
@Component({
44
selector: `demo-panel`,
5-
template: `
6-
<div data-testid="demo-plugin">demo plugin content</div>
7-
`,
5+
template: ` <div data-testid="demo-plugin">demo plugin content</div> `,
86
changeDetection: ChangeDetectionStrategy.OnPush,
97
})
108
export default class DemoPanel {

e2e/apps/preact/playwright.config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ export default defineConfig({
1010
baseURL: 'http://localhost:4179',
1111
trace: 'on-first-retry',
1212
},
13-
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], launchOptions: { args: ['--enable-features=DocumentPictureInPictureAPI'] } } }],
13+
projects: [
14+
{
15+
name: 'chromium',
16+
use: {
17+
...devices['Desktop Chrome'],
18+
launchOptions: {
19+
args: ['--enable-features=DocumentPictureInPictureAPI'],
20+
},
21+
},
22+
},
23+
],
1424
webServer: {
1525
command: 'pnpm run dev',
1626
url: 'http://localhost:4179',

e2e/apps/preact/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ function App() {
99
plugins={[
1010
{
1111
name: 'Demo',
12-
render: () => <div data-testid="demo-plugin">demo plugin content</div>,
12+
render: () => (
13+
<div data-testid="demo-plugin">demo plugin content</div>
14+
),
1315
},
1416
]}
1517
/>

e2e/apps/react-cloudflare/playwright.config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ export default defineConfig({
1010
baseURL: 'http://localhost:4175',
1111
trace: 'on-first-retry',
1212
},
13-
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], launchOptions: { args: ['--enable-features=DocumentPictureInPictureAPI'] } } }],
13+
projects: [
14+
{
15+
name: 'chromium',
16+
use: {
17+
...devices['Desktop Chrome'],
18+
launchOptions: {
19+
args: ['--enable-features=DocumentPictureInPictureAPI'],
20+
},
21+
},
22+
},
23+
],
1424
webServer: {
1525
command: 'pnpm run dev',
1626
url: 'http://localhost:4175',

e2e/apps/react-cloudflare/tests/cloudflare.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { test, expect } from '@playwright/test'
22
import { DevtoolsPage, SELECTORS } from '@tanstack/devtools-e2e'
33

4-
test('cloudflare: devtools mount under SSR and demo plugin renders', async ({ page }) => {
4+
test('cloudflare: devtools mount under SSR and demo plugin renders', async ({
5+
page,
6+
}) => {
57
const dt = new DevtoolsPage(page)
68
await dt.goto()
79
await dt.openViaTrigger()

e2e/apps/react-nitro/playwright.config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ export default defineConfig({
1010
baseURL: 'http://localhost:4176',
1111
trace: 'on-first-retry',
1212
},
13-
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], launchOptions: { args: ['--enable-features=DocumentPictureInPictureAPI'] } } }],
13+
projects: [
14+
{
15+
name: 'chromium',
16+
use: {
17+
...devices['Desktop Chrome'],
18+
launchOptions: {
19+
args: ['--enable-features=DocumentPictureInPictureAPI'],
20+
},
21+
},
22+
},
23+
],
1424
webServer: {
1525
command: 'pnpm run dev',
1626
url: 'http://localhost:4176',

e2e/apps/react-nitro/tests/nitro.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { test, expect } from '@playwright/test'
22
import { DevtoolsPage, SELECTORS } from '@tanstack/devtools-e2e'
33

4-
test('nitro devtools mount under SSR and demo plugin renders', async ({ page }) => {
4+
test('nitro devtools mount under SSR and demo plugin renders', async ({
5+
page,
6+
}) => {
57
const dt = new DevtoolsPage(page)
68
await dt.goto()
79
await dt.openViaTrigger()

e2e/apps/react-start/playwright.config.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ export default defineConfig({
1010
baseURL: 'http://localhost:4174',
1111
trace: 'on-first-retry',
1212
},
13-
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], launchOptions: { args: ['--enable-features=DocumentPictureInPictureAPI'] } } }],
13+
projects: [
14+
{
15+
name: 'chromium',
16+
use: {
17+
...devices['Desktop Chrome'],
18+
launchOptions: {
19+
args: ['--enable-features=DocumentPictureInPictureAPI'],
20+
},
21+
},
22+
},
23+
],
1424
webServer: {
1525
command: 'pnpm run dev',
1626
url: 'http://localhost:4174',

0 commit comments

Comments
 (0)