Installation
$ bower install fxos-components/fxos-radio
Then include folowing files in HTML
<script src="bower_components/fxos-component/fxos-component.js"></script>
<script src="bower_components/fxos-radio/fxos-radio.js"></script>
Examples
Readiness
- Accessibility (@yzen)
- Test Coverage
- Performance
- Visual/UX
- RTL
Tests
- Ensure Firefox Nightly is installed on your machine.
- To run unit tests you need npm >= 3 installed.
$ npm install
$ npm run test-unit
If you would like tests to run on file change use:
$ npm run test-unit-dev
If your would like run integration tests, use:
$ export FIREFOX_NIGHTLY_BIN=/absolute/path/to/nightly/firefox-bin
$ npm run test-integration
Lint check
Run lint check with command:
$ npm run test-lint