1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 21:49:20 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 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: