You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update several dependencies, improve safety, add test script (#119)
* Update several dependencies
* Update badges
* Various safety and lint improvements
These are required to satisfy some new dependencies which exposed some safety and linting issues that were previously being overlooked
* Update test expectations, add script to automate that
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,12 @@ Note: the badges for codehawk-cli are tracked in git because
62
62
- There is currently no 3rd party API that can fetch codehawk results remotely
63
63
- There are no plans to expose codehawk results outside of a project
64
64
65
+
# Updating tests when changes result in materially different outputs
66
+
67
+
There is now a script to update all the static `expected.json` files: `yarn run test:updateexpectations`.
68
+
69
+
Note that this script runs "blind", i.e. assumes that the output is correct, and writes it to file, discarding whatever was there before. It's up to you to ensure that the changes are correct / valid.
70
+
65
71
## Releasing new versions
66
72
67
73
Note: currently, only the project owner (sgb-io) has access to publish new versions to npm.
0 commit comments