@nx/remix 22.7.0-beta.4 → 22.7.0-beta.6

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.
@@ -1,760 +0,0 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
-
3
- exports[`Remix Application Integrated Repo --directory should create the application correctly 1`] = `
4
- "import {
5
- Links,
6
- Meta,
7
- Outlet,
8
- Scripts,
9
- ScrollRestoration,
10
- } from '@remix-run/react';
11
- import type { MetaFunction, LinksFunction } from '@remix-run/node';
12
-
13
- export const meta: MetaFunction = () => [
14
- {
15
- title: 'New Remix App',
16
- },
17
- ];
18
-
19
- export const links: LinksFunction = () => [
20
- { rel: 'preconnect', href: 'https://fonts.googleapis.com' },
21
- {
22
- rel: 'preconnect',
23
- href: 'https://fonts.gstatic.com',
24
- crossOrigin: 'anonymous',
25
- },
26
- {
27
- rel: 'stylesheet',
28
- href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
29
- },
30
- ];
31
-
32
- export function Layout({ children }: { children: React.ReactNode }) {
33
- return (
34
- <html lang="en">
35
- <head>
36
- <meta charSet="utf-8" />
37
- <meta name="viewport" content="width=device-width, initial-scale=1" />
38
- <Meta />
39
- <Links />
40
- </head>
41
- <body>
42
- {children}
43
- <ScrollRestoration />
44
- <Scripts />
45
- </body>
46
- </html>
47
- );
48
- }
49
-
50
- export default function App() {
51
- return <Outlet />;
52
- }
53
- "
54
- `;
55
-
56
- exports[`Remix Application Integrated Repo --directory should create the application correctly 2`] = `
57
- "import NxWelcome from '../nx-welcome';
58
-
59
- export default function Index() {
60
- return (
61
- <div>
62
- <NxWelcome title={'test'} />
63
- </div>
64
- );
65
- }
66
- "
67
- `;
68
-
69
- exports[`Remix Application Integrated Repo --directory should extract the layout directory from the directory options if it exists 1`] = `
70
- "import {
71
- Links,
72
- Meta,
73
- Outlet,
74
- Scripts,
75
- ScrollRestoration,
76
- } from '@remix-run/react';
77
- import type { MetaFunction, LinksFunction } from '@remix-run/node';
78
-
79
- export const meta: MetaFunction = () => [
80
- {
81
- title: 'New Remix App',
82
- },
83
- ];
84
-
85
- export const links: LinksFunction = () => [
86
- { rel: 'preconnect', href: 'https://fonts.googleapis.com' },
87
- {
88
- rel: 'preconnect',
89
- href: 'https://fonts.gstatic.com',
90
- crossOrigin: 'anonymous',
91
- },
92
- {
93
- rel: 'stylesheet',
94
- href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
95
- },
96
- ];
97
-
98
- export function Layout({ children }: { children: React.ReactNode }) {
99
- return (
100
- <html lang="en">
101
- <head>
102
- <meta charSet="utf-8" />
103
- <meta name="viewport" content="width=device-width, initial-scale=1" />
104
- <Meta />
105
- <Links />
106
- </head>
107
- <body>
108
- {children}
109
- <ScrollRestoration />
110
- <Scripts />
111
- </body>
112
- </html>
113
- );
114
- }
115
-
116
- export default function App() {
117
- return <Outlet />;
118
- }
119
- "
120
- `;
121
-
122
- exports[`Remix Application Integrated Repo --directory should extract the layout directory from the directory options if it exists 2`] = `
123
- "import NxWelcome from '../nx-welcome';
124
-
125
- export default function Index() {
126
- return (
127
- <div>
128
- <NxWelcome title={'test'} />
129
- </div>
130
- );
131
- }
132
- "
133
- `;
134
-
135
- exports[`Remix Application Integrated Repo --e2eTestRunner should generate a cypress e2e application for the app 1`] = `
136
- "import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
137
- import { defineConfig } from 'cypress';
138
- export default defineConfig({
139
- e2e: {
140
- ...nxE2EPreset(__filename, {
141
- cypressDir: 'src',
142
- webServerCommands: {
143
- default: 'npx nx run test:dev',
144
- production: 'npx nx run test:serve-static',
145
- },
146
- ciWebServerCommand: 'npx nx run test:serve-static',
147
- ciBaseUrl: 'http://localhost:3000',
148
- }),
149
- baseUrl: 'http://localhost:3000',
150
- },
151
- });
152
- "
153
- `;
154
-
155
- exports[`Remix Application Integrated Repo --e2eTestRunner should generate a playwright e2e application for the app 1`] = `
156
- "import { defineConfig, devices } from '@playwright/test';
157
- import { nxE2EPreset } from '@nx/playwright/preset';
158
- import { workspaceRoot } from '@nx/devkit';
159
-
160
- // For CI, you may want to set BASE_URL to the deployed application.
161
- const baseURL = process.env['BASE_URL'] || 'http://localhost:3000';
162
-
163
- /**
164
- * Read environment variables from file.
165
- * https://github.com/motdotla/dotenv
166
- */
167
- // require('dotenv').config();
168
-
169
- /**
170
- * See https://playwright.dev/docs/test-configuration.
171
- */
172
- export default defineConfig({
173
- ...nxE2EPreset(__filename, { testDir: './src' }),
174
- /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
175
- use: {
176
- baseURL,
177
- /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
178
- trace: 'on-first-retry',
179
- },
180
- /* Run your local dev server before starting the tests */
181
- webServer: {
182
- command: 'npx nx run test:serve-static',
183
- url: 'http://localhost:3000',
184
- reuseExistingServer: true,
185
- cwd: workspaceRoot,
186
- },
187
- projects: [
188
- {
189
- name: 'chromium',
190
- use: { ...devices['Desktop Chrome'] },
191
- },
192
-
193
- {
194
- name: 'firefox',
195
- use: { ...devices['Desktop Firefox'] },
196
- },
197
-
198
- {
199
- name: 'webkit',
200
- use: { ...devices['Desktop Safari'] },
201
- },
202
-
203
- // Uncomment for mobile browsers support
204
- /* {
205
- name: 'Mobile Chrome',
206
- use: { ...devices['Pixel 5'] },
207
- },
208
- {
209
- name: 'Mobile Safari',
210
- use: { ...devices['iPhone 12'] },
211
- }, */
212
-
213
- // Uncomment for branded browsers
214
- /* {
215
- name: 'Microsoft Edge',
216
- use: { ...devices['Desktop Edge'], channel: 'msedge' },
217
- },
218
- {
219
- name: 'Google Chrome',
220
- use: { ...devices['Desktop Chrome'], channel: 'chrome' },
221
- } */
222
- ],
223
- });
224
- "
225
- `;
226
-
227
- exports[`Remix Application Integrated Repo --unitTestRunner should generate the correct files for testing using jest 1`] = `
228
- "module.exports = {
229
- displayName: 'test',
230
- preset: '../jest.preset.js',
231
- transform: {
232
- '^.+\\\\.[tj]sx?$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
233
- },
234
- moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
235
- coverageDirectory: '../coverage/test',
236
- };
237
- "
238
- `;
239
-
240
- exports[`Remix Application Integrated Repo --unitTestRunner should generate the correct files for testing using jest 2`] = `
241
- "import { installGlobals } from '@remix-run/node';
242
- import '@testing-library/jest-dom/matchers';
243
- installGlobals();
244
- "
245
- `;
246
-
247
- exports[`Remix Application Integrated Repo --unitTestRunner should generate the correct files for testing using vitest 1`] = `
248
- "/// <reference types='vitest' />
249
- import { defineConfig } from 'vite';
250
- import react from '@vitejs/plugin-react';
251
- import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
252
- import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';
253
-
254
- export default defineConfig(() => ({
255
- root: import.meta.dirname,
256
- cacheDir: '../node_modules/.vite/test',
257
- plugins: [react(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
258
- // Uncomment this if you are using workers.
259
- // worker: {
260
- // plugins: () => [ nxViteTsPaths() ],
261
- // },
262
- test: {
263
- setupFiles: ['test-setup.ts'],
264
- name: 'test',
265
- watch: false,
266
- globals: true,
267
- environment: 'jsdom',
268
- include: ['./tests/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
269
- reporters: ['default'],
270
- coverage: {
271
- reportsDirectory: '../coverage/test',
272
- provider: 'v8' as const,
273
- },
274
- },
275
- }));
276
- "
277
- `;
278
-
279
- exports[`Remix Application Integrated Repo --unitTestRunner should generate the correct files for testing using vitest 2`] = `
280
- "import { installGlobals } from '@remix-run/node';
281
- import '@testing-library/jest-dom/matchers';
282
- installGlobals();
283
- "
284
- `;
285
-
286
- exports[`Remix Application Integrated Repo --unitTestRunner should generate the correct files for testing using vitest 3`] = `
287
- "{
288
- "extends": "./tsconfig.json",
289
- "compilerOptions": {
290
- "outDir": "../dist/out-tsc",
291
- "types": [
292
- "vitest/globals",
293
- "vitest/importMeta",
294
- "vite/client",
295
- "node",
296
- "vitest"
297
- ]
298
- },
299
- "include": [
300
- "vite.config.ts",
301
- "vite.config.mts",
302
- "vitest.config.ts",
303
- "vitest.config.mts",
304
- "app/**/*.ts",
305
- "app/**/*.tsx",
306
- "app/**/*.js",
307
- "app/**/*.jsx",
308
- "tests/**/*.spec.ts",
309
- "tests/**/*.test.ts",
310
- "tests/**/*.spec.tsx",
311
- "tests/**/*.test.tsx",
312
- "tests/**/*.spec.js",
313
- "tests/**/*.test.js",
314
- "tests/**/*.spec.jsx",
315
- "tests/**/*.test.jsx"
316
- ]
317
- }
318
- "
319
- `;
320
-
321
- exports[`Remix Application Integrated Repo should create the application correctly 1`] = `
322
- "import {
323
- Links,
324
- Meta,
325
- Outlet,
326
- Scripts,
327
- ScrollRestoration,
328
- } from '@remix-run/react';
329
- import type { MetaFunction, LinksFunction } from '@remix-run/node';
330
-
331
- export const meta: MetaFunction = () => [
332
- {
333
- title: 'New Remix App',
334
- },
335
- ];
336
-
337
- export const links: LinksFunction = () => [
338
- { rel: 'preconnect', href: 'https://fonts.googleapis.com' },
339
- {
340
- rel: 'preconnect',
341
- href: 'https://fonts.gstatic.com',
342
- crossOrigin: 'anonymous',
343
- },
344
- {
345
- rel: 'stylesheet',
346
- href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
347
- },
348
- ];
349
-
350
- export function Layout({ children }: { children: React.ReactNode }) {
351
- return (
352
- <html lang="en">
353
- <head>
354
- <meta charSet="utf-8" />
355
- <meta name="viewport" content="width=device-width, initial-scale=1" />
356
- <Meta />
357
- <Links />
358
- </head>
359
- <body>
360
- {children}
361
- <ScrollRestoration />
362
- <Scripts />
363
- </body>
364
- </html>
365
- );
366
- }
367
-
368
- export default function App() {
369
- return <Outlet />;
370
- }
371
- "
372
- `;
373
-
374
- exports[`Remix Application Integrated Repo should create the application correctly 2`] = `
375
- "import NxWelcome from '../nx-welcome';
376
-
377
- export default function Index() {
378
- return (
379
- <div>
380
- <NxWelcome title={'test'} />
381
- </div>
382
- );
383
- }
384
- "
385
- `;
386
-
387
- exports[`Remix Application Standalone Project Repo --e2eTestRunner should generate a cypress e2e application for the app 1`] = `
388
- "import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
389
- import { defineConfig } from 'cypress';
390
- export default defineConfig({
391
- e2e: {
392
- ...nxE2EPreset(__filename, {
393
- cypressDir: 'src',
394
- webServerCommands: {
395
- default: 'npx nx run test:dev',
396
- production: 'npx nx run test:serve-static',
397
- },
398
- ciWebServerCommand: 'npx nx run test:serve-static',
399
- ciBaseUrl: 'http://localhost:3000',
400
- }),
401
- baseUrl: 'http://localhost:3000',
402
- },
403
- });
404
- "
405
- `;
406
-
407
- exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using jest 1`] = `
408
- "module.exports = {
409
- setupFilesAfterEnv: ['<rootDir>/test-setup.ts'],
410
- displayName: 'test',
411
- preset: './jest.preset.cjs',
412
- transform: {
413
- '^.+\\\\.[tj]sx?$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
414
- },
415
- moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
416
- coverageDirectory: './coverage/test',
417
- testMatch: [
418
- '<rootDir>/tests/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',
419
- ],
420
- };
421
- "
422
- `;
423
-
424
- exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using jest 2`] = `
425
- "import { installGlobals } from '@remix-run/node';
426
- import '@testing-library/jest-dom/matchers';
427
- installGlobals();
428
- "
429
- `;
430
-
431
- exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using jest 3`] = `
432
- "import { createRemixStub } from '@remix-run/testing';
433
- import { render } from '@testing-library/react';
434
- import { screen } from '@testing-library/dom';
435
- import Index from '../../app/routes/_index';
436
-
437
- test('renders loader data', async () => {
438
- const RemixStub = createRemixStub([
439
- {
440
- path: '/',
441
- Component: Index,
442
- },
443
- ]);
444
-
445
- render(<RemixStub />);
446
-
447
- await screen.findByText('Hello there,');
448
- });
449
- "
450
- `;
451
-
452
- exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using vitest 1`] = `
453
- "/// <reference types='vitest' />
454
- import { defineConfig } from 'vite';
455
- import react from '@vitejs/plugin-react';
456
- import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
457
- import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';
458
-
459
- export default defineConfig(() => ({
460
- root: import.meta.dirname,
461
- cacheDir: './node_modules/.vite/test',
462
- plugins: [react(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
463
- // Uncomment this if you are using workers.
464
- // worker: {
465
- // plugins: () => [ nxViteTsPaths() ],
466
- // },
467
- test: {
468
- setupFiles: ['test-setup.ts'],
469
- name: 'test',
470
- watch: false,
471
- globals: true,
472
- environment: 'jsdom',
473
- include: ['./tests/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
474
- reporters: ['default'],
475
- coverage: {
476
- reportsDirectory: './coverage/test',
477
- provider: 'v8' as const,
478
- },
479
- },
480
- }));
481
- "
482
- `;
483
-
484
- exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using vitest 2`] = `
485
- "import { createRemixStub } from '@remix-run/testing';
486
- import { render } from '@testing-library/react';
487
- import { screen } from '@testing-library/dom';
488
- import Index from '../../app/routes/_index';
489
-
490
- test('renders loader data', async () => {
491
- const RemixStub = createRemixStub([
492
- {
493
- path: '/',
494
- Component: Index,
495
- },
496
- ]);
497
-
498
- render(<RemixStub />);
499
-
500
- await screen.findByText('Hello there,');
501
- });
502
- "
503
- `;
504
-
505
- exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using vitest 3`] = `
506
- "{
507
- "extends": "./tsconfig.json",
508
- "compilerOptions": {
509
- "outDir": "./dist/out-tsc",
510
- "types": [
511
- "vitest/globals",
512
- "vitest/importMeta",
513
- "vite/client",
514
- "node",
515
- "vitest"
516
- ]
517
- },
518
- "include": [
519
- "vite.config.ts",
520
- "vite.config.mts",
521
- "vitest.config.ts",
522
- "vitest.config.mts",
523
- "app/**/*.ts",
524
- "app/**/*.tsx",
525
- "app/**/*.js",
526
- "app/**/*.jsx",
527
- "tests/**/*.spec.ts",
528
- "tests/**/*.test.ts",
529
- "tests/**/*.spec.tsx",
530
- "tests/**/*.test.tsx",
531
- "tests/**/*.spec.js",
532
- "tests/**/*.test.js",
533
- "tests/**/*.spec.jsx",
534
- "tests/**/*.test.jsx"
535
- ]
536
- }
537
- "
538
- `;
539
-
540
- exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using vitest 4`] = `
541
- "import { installGlobals } from '@remix-run/node';
542
- import '@testing-library/jest-dom/matchers';
543
- installGlobals();
544
- "
545
- `;
546
-
547
- exports[`Remix Application Standalone Project Repo should create the application correctly 1`] = `
548
- "import {
549
- Links,
550
- Meta,
551
- Outlet,
552
- Scripts,
553
- ScrollRestoration,
554
- } from '@remix-run/react';
555
- import type { MetaFunction, LinksFunction } from '@remix-run/node';
556
-
557
- export const meta: MetaFunction = () => [
558
- {
559
- title: 'New Remix App',
560
- },
561
- ];
562
-
563
- export const links: LinksFunction = () => [
564
- { rel: 'preconnect', href: 'https://fonts.googleapis.com' },
565
- {
566
- rel: 'preconnect',
567
- href: 'https://fonts.gstatic.com',
568
- crossOrigin: 'anonymous',
569
- },
570
- {
571
- rel: 'stylesheet',
572
- href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
573
- },
574
- ];
575
-
576
- export function Layout({ children }: { children: React.ReactNode }) {
577
- return (
578
- <html lang="en">
579
- <head>
580
- <meta charSet="utf-8" />
581
- <meta name="viewport" content="width=device-width, initial-scale=1" />
582
- <Meta />
583
- <Links />
584
- </head>
585
- <body>
586
- {children}
587
- <ScrollRestoration />
588
- <Scripts />
589
- </body>
590
- </html>
591
- );
592
- }
593
-
594
- export default function App() {
595
- return <Outlet />;
596
- }
597
- "
598
- `;
599
-
600
- exports[`Remix Application Standalone Project Repo should create the application correctly 2`] = `
601
- "import NxWelcome from '../nx-welcome';
602
-
603
- export default function Index() {
604
- return (
605
- <div>
606
- <NxWelcome title={'test'} />
607
- </div>
608
- );
609
- }
610
- "
611
- `;
612
-
613
- exports[`Remix Application Standalone Project Repo should create the application correctly 3`] = `
614
- "import { createRemixStub } from '@remix-run/testing';
615
- import { render } from '@testing-library/react';
616
- import { screen } from '@testing-library/dom';
617
- import Index from '../../app/routes/_index';
618
-
619
- test('renders loader data', async () => {
620
- const RemixStub = createRemixStub([
621
- {
622
- path: '/',
623
- Component: Index,
624
- },
625
- ]);
626
-
627
- render(<RemixStub />);
628
-
629
- await screen.findByText('Hello there,');
630
- });
631
- "
632
- `;
633
-
634
- exports[`Remix Application Standalone Project Repo should create the application correctly 4`] = `
635
- "import { vitePlugin as remix } from '@remix-run/dev';
636
- import { defineConfig } from 'vite';
637
- import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
638
-
639
- declare module '@remix-run/node' {
640
- interface Future {
641
- v3_singleFetch: true;
642
- }
643
- }
644
-
645
- export default defineConfig({
646
- root: import.meta.dirname,
647
- plugins: [
648
- remix({
649
- future: {
650
- v3_fetcherPersist: true,
651
- v3_relativeSplatPath: true,
652
- v3_throwAbortReason: true,
653
- v3_singleFetch: true,
654
- v3_lazyRouteDiscovery: true,
655
- },
656
- }),
657
- nxViteTsPaths(),
658
- ],
659
- });
660
- "
661
- `;
662
-
663
- exports[`Remix Application Standalone Project Repo should create the application correctly 5`] = `
664
- "{
665
- "root": true,
666
- "ignorePatterns": [
667
- "!**/*",
668
- "build",
669
- "public/build",
670
- "**/vite.config.*.timestamp*",
671
- "**/vitest.config.*.timestamp*"
672
- ],
673
- "plugins": ["@nx"],
674
- "overrides": [
675
- {
676
- "files": ["*.ts", "*.tsx"],
677
- "extends": ["plugin:@nx/typescript"],
678
- "rules": {}
679
- },
680
- {
681
- "files": ["*.js", "*.jsx"],
682
- "extends": ["plugin:@nx/javascript"],
683
- "rules": {}
684
- }
685
- ]
686
- }
687
- "
688
- `;
689
-
690
- exports[`Remix Application Standalone Project Repo should generate a playwright e2e application for the app 1`] = `
691
- "import { defineConfig, devices } from '@playwright/test';
692
- import { nxE2EPreset } from '@nx/playwright/preset';
693
- import { workspaceRoot } from '@nx/devkit';
694
-
695
- // For CI, you may want to set BASE_URL to the deployed application.
696
- const baseURL = process.env['BASE_URL'] || 'http://localhost:3000';
697
-
698
- /**
699
- * Read environment variables from file.
700
- * https://github.com/motdotla/dotenv
701
- */
702
- // require('dotenv').config();
703
-
704
- /**
705
- * See https://playwright.dev/docs/test-configuration.
706
- */
707
- export default defineConfig({
708
- ...nxE2EPreset(__filename, { testDir: './src' }),
709
- /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
710
- use: {
711
- baseURL,
712
- /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
713
- trace: 'on-first-retry',
714
- },
715
- /* Run your local dev server before starting the tests */
716
- webServer: {
717
- command: 'npx nx run test:serve-static',
718
- url: 'http://localhost:3000',
719
- reuseExistingServer: true,
720
- cwd: workspaceRoot,
721
- },
722
- projects: [
723
- {
724
- name: 'chromium',
725
- use: { ...devices['Desktop Chrome'] },
726
- },
727
-
728
- {
729
- name: 'firefox',
730
- use: { ...devices['Desktop Firefox'] },
731
- },
732
-
733
- {
734
- name: 'webkit',
735
- use: { ...devices['Desktop Safari'] },
736
- },
737
-
738
- // Uncomment for mobile browsers support
739
- /* {
740
- name: 'Mobile Chrome',
741
- use: { ...devices['Pixel 5'] },
742
- },
743
- {
744
- name: 'Mobile Safari',
745
- use: { ...devices['iPhone 12'] },
746
- }, */
747
-
748
- // Uncomment for branded browsers
749
- /* {
750
- name: 'Microsoft Edge',
751
- use: { ...devices['Desktop Edge'], channel: 'msedge' },
752
- },
753
- {
754
- name: 'Google Chrome',
755
- use: { ...devices['Desktop Chrome'], channel: 'chrome' },
756
- } */
757
- ],
758
- });
759
- "
760
- `;