Skip to content

Commit

Permalink
Update contributing guide to mention snapshot test updating (#8185)
Browse files Browse the repository at this point in the history
### Description

Had to ask this info from the rest of the team, ensures it's documented.

<!--
  ✍️ Write a short summary of your work.
  If necessary, include relevant screenshots.
-->

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->
  • Loading branch information
timneutkens committed May 24, 2024
1 parent 46fe083 commit a44f3f3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Thanks for your interest in contributing to Turbo!

- [Contributing to Turbo](#contributing-to-turbo)
- [General Dependencies](#general-dependencies)
- [Linux Dependencies](#linux-dependencies)
- [Contributing to Turborepo](#contributing-to-turborepo)
- [Building Turborepo](#building-turborepo)
- [TLS Implementation](#tls-implementation)
Expand Down Expand Up @@ -290,6 +291,14 @@ You can also create a little demo app and run
cargo run -p node-file-trace -- print demo/index.js
```
Updating snapshot tests:
In case of changes that involve updating snapshots you can use the `UPDATE=1` environment variable.
```
UPDATE=1 cargo nextest run
```
### Profiling Turbopack
See [the profiling docs for Turbopack](https://turbo.build/pack/docs/advanced/profiling) for details.
Expand Down

0 comments on commit a44f3f3

Please sign in to comment.