Skip to content

Commit

Permalink
docs: Add default test name tip (#4832)
Browse files Browse the repository at this point in the history
  • Loading branch information
hogoww committed Jan 15, 2024
1 parent 6bfdb5f commit 3e6668e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ test('adds 1 + 2 to equal 3', () => {
})
```

::: tip
By default, tests must contain ".test." or ".spec." in their file name.
:::

Next, in order to execute the test, add the following section to your `package.json`:

```json
Expand Down

0 comments on commit 3e6668e

Please sign in to comment.