docs(class-testconfig.md): remove trailing devices reference (#14867)

This commit is contained in:
marlowl 2022-06-14 22:25:06 +02:00 committed by GitHub
parent e640f553b5
commit 9d9b5d13be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 12 deletions

View File

@ -138,7 +138,7 @@ module.exports = config;
```js tab=js-ts
// playwright.config.ts
import { type PlaywrightTestConfig, devices } from '@playwright/test';
import { type PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
globalSetup: './global-setup',
@ -167,7 +167,7 @@ module.exports = config;
```js tab=js-ts
// playwright.config.ts
import { type PlaywrightTestConfig, devices } from '@playwright/test';
import { type PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
globalTeardown: './global-teardown',
@ -276,7 +276,7 @@ module.exports = config;
```js tab=js-ts
// playwright.config.ts
import { type PlaywrightTestConfig, devices } from '@playwright/test';
import { type PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
outputDir: './test-results',
@ -508,7 +508,7 @@ module.exports = config;
```js tab=js-ts
// playwright.config.ts
import { type PlaywrightTestConfig, devices } from '@playwright/test';
import { type PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
testIgnore: '**/test-assets/**',
@ -537,7 +537,7 @@ module.exports = config;
```js tab=js-ts
// playwright.config.ts
import { type PlaywrightTestConfig, devices } from '@playwright/test';
import { type PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
testMatch: /.*\.e2e\.js/,

View File

@ -584,7 +584,7 @@ interface TestConfig {
*
* ```js
* // playwright.config.ts
* import { type PlaywrightTestConfig, devices } from '@playwright/test';
* import { type PlaywrightTestConfig } from '@playwright/test';
*
* const config: PlaywrightTestConfig = {
* globalSetup: './global-setup',
@ -603,7 +603,7 @@ interface TestConfig {
*
* ```js
* // playwright.config.ts
* import { type PlaywrightTestConfig, devices } from '@playwright/test';
* import { type PlaywrightTestConfig } from '@playwright/test';
*
* const config: PlaywrightTestConfig = {
* globalTeardown: './global-teardown',
@ -684,7 +684,7 @@ interface TestConfig {
*
* ```js
* // playwright.config.ts
* import { type PlaywrightTestConfig, devices } from '@playwright/test';
* import { type PlaywrightTestConfig } from '@playwright/test';
*
* const config: PlaywrightTestConfig = {
* outputDir: './test-results',
@ -829,7 +829,7 @@ interface TestConfig {
*
* ```js
* // playwright.config.ts
* import { type PlaywrightTestConfig, devices } from '@playwright/test';
* import { type PlaywrightTestConfig } from '@playwright/test';
*
* const config: PlaywrightTestConfig = {
* testIgnore: '**\/test-assets/**',
@ -848,7 +848,7 @@ interface TestConfig {
*
* ```js
* // playwright.config.ts
* import { type PlaywrightTestConfig, devices } from '@playwright/test';
* import { type PlaywrightTestConfig } from '@playwright/test';
*
* const config: PlaywrightTestConfig = {
* testMatch: /.*\.e2e\.js/,
@ -1018,7 +1018,7 @@ export interface FullConfig<TestArgs = {}, WorkerArgs = {}> {
*
* ```js
* // playwright.config.ts
* import { type PlaywrightTestConfig, devices } from '@playwright/test';
* import { type PlaywrightTestConfig } from '@playwright/test';
*
* const config: PlaywrightTestConfig = {
* globalSetup: './global-setup',
@ -1036,7 +1036,7 @@ export interface FullConfig<TestArgs = {}, WorkerArgs = {}> {
*
* ```js
* // playwright.config.ts
* import { type PlaywrightTestConfig, devices } from '@playwright/test';
* import { type PlaywrightTestConfig } from '@playwright/test';
*
* const config: PlaywrightTestConfig = {
* globalTeardown: './global-teardown',