# Use vitest-browser-react in ChatView browser tests · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/9abf96770044612038eb37740a1dfb4c38e1d272)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: 9abf96770044612038eb37740a1dfb4c38e1d272

Requested commit: 9abf96770044612038eb37740a1dfb4c38e1d272

Commit: 9abf96770044612038eb37740a1dfb4c38e1d272

Tree: 1a3201ad63c0fb3f6a394ae10d9a4211a107ac0b

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Use vitest-browser-react in ChatView browser tests

- replace manual `createRoot` mounting with `render`/`unmount` from vitest-browser-react
- add `vitest-browser-react` to web devDependencies and lockfile

```

## Parents

- [cc83094bc6b1e819b916e4447e12cde6f8f05ff9](https://git.cafe/gitcafe/t3code/commit/cc83094bc6b1e819b916e4447e12cde6f8f05ff9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/9abf96770044612038eb37740a1dfb4c38e1d272?format=markdown)
