Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michealparks authored Jun 21, 2024
1 parent 62b4d10 commit 7baf7a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ export default defineConfig({

Additionally, the [Vitest environment](https://vitest.dev/guide/environment.html) must be set to a DOM enviroment.

If you are using Svelte Testing Library and its plugin, the `threlteTesting` plugin isn't needed as they have the same internals.

### Limitations

The test renderer runs in a node.js environment, and it does not attempt to mock a webgl canvas, which can become quite complicated. Instead, it creates a Threlte context and renders your component as a child of a Threlte `<SceneGraphObject>`. This means that testing `<Canvas>` or `WebGLRenderer` related configuration and behavior won't work.
Expand Down

0 comments on commit 7baf7a4

Please sign in to comment.