fxa/packages/fxa-react
Valerie Pomerleau eaaa20d11f
fix(storybook): Ensure stories are loading
Because:

* Many stories were not loading

This commit:

* Re-add react import where it was missing

Closes #FXA-9773
2024-06-04 15:56:09 -07:00
..
.storybook chore(deps): upgrade react-scripts and webpack to v5 2023-07-11 13:32:40 -05:00
components fix(storybook): Ensure stories are loading 2024-06-04 15:56:09 -07:00
configs feat(many): add support for libs in webpack apps 2024-05-29 16:58:40 -04:00
lib Merge pull request #17032 from mozilla/fxa-9559-alias-support 2024-06-03 12:43:29 -04:00
scripts task(CI): Improve nx caching for CI pipelines 2023-08-29 11:19:54 -07:00
styles feat(pair): Display new "Sync your Firefox experience" UI in Backbone 2024-05-22 11:10:04 -05:00
.eslintrc.json chore(build): initial nx implementation 2023-05-23 08:37:47 -07:00
.prettierignore chore(fxa-react): update files to respect prettier 2020-05-26 13:28:42 -04:00
Gruntfile.js refactor(l10n): Ensure shared FTL strings not duplicated on Pontoon 2022-12-13 13:23:53 -06:00
README.md chore(many): Remove npm run commands 2023-05-17 11:24:09 -07:00
extract-imported-components.js task(CI): build, unit test, and integration test jobs 2023-01-10 12:52:01 -08:00
jest.config.js feat(many): add support for libs in webpack apps 2024-05-29 16:58:40 -04:00
package.json feat(many): add partial stack startup scripts 2024-06-04 11:41:51 -04:00
pm2.config.js task(CI): Improve nx caching for CI pipelines 2023-08-29 11:19:54 -07:00
postcss.config.js chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
setupTests.ts refactor(settings + react): don't globally stub console fns, remove unneeded deps, various cleanups 2020-08-19 22:35:36 -04:00
svg-transform.js feat(admin-panel+settings+react): set up storybook and tailwind for admin-panel, share tailwind config across all projects, config movement 2020-06-03 15:46:09 -04:00
tailwind.config.js chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
tsconfig.json feat: add foundational db classes 2023-07-24 14:44:12 -04:00

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