synapsestudios / synapse-common

DEPRECATED
MIT License
1 stars 2 forks source link

Convert Jest tests to Karma/Mocha/Chai/Sinon/Proxyquireify #23

Closed zpchavez closed 9 years ago

zpchavez commented 10 years ago

Convert Jest tests to Karma/Mocha/Chai/Sinon/Proxyquireify

Use the same test stack that we've decided to use elsewhere, which works well with react components and everything else.

Acceptance Criteria

  1. Tests run and pass with npm test
  2. gulp test builds tests accessible at 127.0.0.1:9001 and they pass

    Tasks

    • Add karma config file
    • Add gulp and related packages to devDependencies
    • Add gulpfile.js
    • Add gulp-task for building test runner
    • Add index.html, setup.js, and globals.js to test.
    • Convert existing tests
    • Add shippable.yml file that runs tests

      Additional Notes

    • None
bobeagan commented 10 years ago

:o:

zpchavez commented 9 years ago

:m: :star:

zpchavez commented 9 years ago

Live reloading actually works when updating app code. That isn't the case with most of our actual projects.

paulstatezny commented 9 years ago

:hand:

paulstatezny commented 9 years ago

Looks good to me.

zpchavez commented 9 years ago

:+1: then?

paulstatezny commented 9 years ago

:+1:

zpchavez commented 9 years ago

:one: