Skip to content

Commit

Permalink
Updates vitest config to deal with flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pastuxso committed Feb 12, 2024
1 parent c9c1d1a commit dcc9b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ npx eslint src tests
unit tests via [Vitest](https://vitest.dev/):

```sh {"id":"01HF7GMQ6NTPMHCVN4BY0W782F","name":"test:unit"}
npx vitest --config ./vitest.config.ts
npx vitest --config ./vitest.config.ts --retry=3
```

Update snapshots used in tests if necesary:

```sh {"name":"test:unit:snapshots"}
```sh {"id":"01HPEYC6NE0WP6X2KTGQAHZVSN","name":"test:unit:snapshots"}
npx vitest --config ./vitest.config.ts -u
```

Expand Down

0 comments on commit dcc9b83

Please sign in to comment.