1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00

Update contributing.md (#5268)

This commit is contained in:
boweiliu
2023-01-26 04:05:24 -08:00
committed by GitHub
parent c691bb3aae
commit b56acceb23

View File

@@ -77,7 +77,7 @@ yarn test
If you need to debug something, you can add a `debugger` line to the source, and then run `yarn test:inspect`. If you need to debug something, you can add a `debugger` line to the source, and then run `yarn test:inspect`.
If you only want to run a specific test or tests, you can run `yarn test --fgrep="slate-react rendering"` flag which will filter the tests being run by grepping for the string in each test. \(This is a Mocha flag that gets passed through.\) If you only want to run a specific test or tests, you can run `yarn run test:mocha --fgrep="slate-react rendering"` flag which will filter the tests being run by grepping for the string in each test. \(This is a Mocha flag that gets passed through.\)
In addition to tests you should also run the linter: In addition to tests you should also run the linter: