fxa/packages/fxa-react
..
.storybook
components
configs
lib
scripts
styles
.eslintrc.json
.prettierignore
Gruntfile.js
README.md
extract-imported-components.js
jest.config.js
package.json
pm2.config.js
postcss.config.js
setupTests.ts
svg-transform.js
tailwind.config.js
tsconfig.json

README.md

Shared components for FxA React Apps

Testing

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
yarn test -- ComponentName

# Grep for "description"
yarn test -- -t "description"

# Watch files for changes and re-run
yarn test -- --watch

Refer to Jest's CLI documentation for more advanced test configuration.

License

MPL-2.0