Skip to content

Commit

Permalink
docs: update test-fixtures-js.md (#34399)
Browse files Browse the repository at this point in the history
  • Loading branch information
tasawar-hussain authored Jan 21, 2025
1 parent 888feb0 commit 6234c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/test-fixtures-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ Automatic fixtures are set up for each test/worker, even when the test does not
Here is an example fixture that automatically attaches debug logs when the test fails, so we can later review the logs in the reporter. Note how it uses [TestInfo] object that is available in each test/fixture to retrieve metadata about the test being run.

```js title="my-test.ts"
import * as debug from 'debug';
import debug from 'debug';
import * as fs from 'fs';
import { test as base } from '@playwright/test';

Expand Down

0 comments on commit 6234c3b

Please sign in to comment.