Skip to content

Commit

Permalink
yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Jan 13, 2022
1 parent 40b65a6 commit d94a742
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ It prepares the test suite and returns a function with the same interface as

```js
describe('test suite', () => {
const { render } = createRenderer()
const { render } = createRenderer();

test('first', () => {
render(<input />);
});
})
});
```

For new tests please use `expect` from the BDD testing approach. Prefer to use as expressive [matchers](https://www.chaijs.com/api/bdd/) as possible. This keeps
Expand Down Expand Up @@ -86,7 +86,7 @@ function SomeComponent({ variant }) {
expect(() => {
render(<SomeComponent variant="unexpected" />);
}).toErrorDev(["That variant doesn't make sense.", '`variant` is deprecated.']);
````
```

```js
function SomeComponent({ variant }) {
Expand Down

0 comments on commit d94a742

Please sign in to comment.