зеркало из https://github.com/mozilla/fxa.git
2e230d2365
Bumps the npm_and_yarn group with 3 updates: [jose](https://github.com/panva/jose), [postcss](https://github.com/postcss/postcss) and [webpack](https://github.com/webpack/webpack). Updates `jose` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/panva/jose/releases) - [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md) - [Commits](https://github.com/panva/jose/compare/v5.7.0...v5.8.0) Updates `postcss` from 8.4.41 to 8.4.42 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.41...8.4.42) Updates `webpack` from 5.89.0 to 5.94.0 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0) --- updated-dependencies: - dependency-name: jose dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: postcss dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: webpack dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
.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