This package uses Jest to test its code. By default npm test
will test all JS files under src/
.
Test specific tests with the following commands:
# Test for the component ComponentName
npm run test -- ComponentName
# Grep for "description"
npm run test -- -t "description"
# Watch files for changes and re-run
npm run test -- --watch
Refer to Jest's CLI documentation for more advanced test configuration.
MPL-2.0