/react-meteor-tests

React Unit Tests in Meteor

Primary LanguageJavaScript

React Meteor Tests

React Unit Tests in Meteor

  • Jasmine Unit Tests
  • jQuery based spec helpers

TODO

  • Shallow rendering (without DOM)
  • Test Domains (data fetching object)
  • Test Actions
  • Integration tests
  • Mocha
  • Jest
  • external Karma runner (not in Velocity)

Usage

To run just cd into this repo and run meteor

This repo shows how to test a very basic React app. Though the app is small it's structured in a way that suits larger apps. However this makes it easy to test! If you like this layout structure/architecture, keep an eye on Meteor Generate for a CLI scaffolding tool to create components with an initial passing spec!

code

tests