Skip to content

Commit

Permalink
docs: fix typos (#1567)
Browse files Browse the repository at this point in the history
Fix simple typos in docs that I noticed when trying to run the project.

Co-authored-by: Luiz Estácio | stacio.eth <[email protected]>
  • Loading branch information
nelitow and luizstacio authored Oct 11, 2024
1 parent 8e42400 commit 888cb45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/dev/test-utils.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ The `@fuels/playwright-utils` package allows developers building frontend applic

## Fixtures

If you are not using any custom test fixtures in your playwright tests import the fixtures directly from this package, and pass in the path to the fuel extension. You can download the extension manually or use our `downloadFuel` function.
If you are not using any custom test fixtures in your playwright tests, import the fixtures directly from this package, and pass in the path to the fuel extension. You can download the extension manually or use our `downloadFuel` function.

```tsx
// e2e.test.ts
import { test } from '@fuel-wallet/playwright-utils';

test.use({ pathToExtension: './path/to/extension' });
// OR
const fuelPathToExtension = downloadFuel(FUEL_WALLET_VERSION');
const fuelPathToExtension = await downloadFuel(FUEL_WALLET_VERSION);
test.use({ pathToExtension: fuelPathToExtension });
```

Expand Down

0 comments on commit 888cb45

Please sign in to comment.