Run test suite in Firefox via Karma
Since the primary use-case for react-dates is in a browser environment it seems appropriate to run the test suite in a browser. I've added configuration to run the test suite in Firefox via Karma with the necessary adjustments to the Travis config. I've commented the two places in the Karma config where I'm doing something odd in order to make things work.
Showing
- .travis.yml 4 additions, 0 deletions.travis.yml
- karma.conf.js 88 additions, 0 deletionskarma.conf.js
- package.json 9 additions, 1 deletionpackage.json
- test/components/CalendarDay_spec.jsx 25 additions, 0 deletionstest/components/CalendarDay_spec.jsx
- test/components/DateRangePicker_spec.jsx 8 additions, 0 deletionstest/components/DateRangePicker_spec.jsx
- test/components/DayPicker_spec.jsx 20 additions, 0 deletionstest/components/DayPicker_spec.jsx
- test/components/SingleDatePicker_spec.jsx 4 additions, 0 deletionstest/components/SingleDatePicker_spec.jsx
Loading
Please register or sign in to comment