Commit Graph

28 Commits

Author SHA1 Message Date
Mike Thompson 8c797e33f2 Reduce test boilerplate by combining two tests. 2016-08-09 00:10:19 +10:00
Mike Thompson 5c17176f8d Add a test to cover the newly discovered nil case 2016-08-09 00:01:15 +10:00
Mike Thompson 656f586ece reformat 2016-08-08 23:17:00 +10:00
Mike Thompson 6a172ddbe0 Fix bug identified by @samroberton https://github.com/Day8/re-frame/pull/189 2016-08-08 23:10:41 +10:00
Mike Thompson c8659d6770 Version 0.8.0-alpha10 2016-08-08 15:30:38 +10:00
Mike Thompson 4ade89c74e rework implementation of subscriptions 2016-08-04 17:08:08 +10:00
Mike Thompson 311367dc3d Change to Interceptors (away from middleware). This is a big code drop.
Tests pass and todomvc works.
But there is some ugliness to now resolve, and a couple of  unresolved issues.
2016-08-03 12:53:01 +10:00
hipitihop e884dcadb6 Simplify :dispatch-later and only support single :dispatch 2016-07-27 16:03:29 +10:00
hipitihop 12f6eeee3c Change :dispatch-later fx handler now expects vector of {:ms ... :dispatch ...} & add unit test 2016-07-27 15:43:47 +10:00
Mike Thompson 658f3b0232 Switch to using `reg-*` naming, instead of `def-*` naming 2016-07-24 17:08:09 +10:00
Stuart Mitchell faae34822c Removed undo functionality as it is not handled in day8.re-frame/undo 2016-07-22 14:02:18 +12:00
Stuart Mitchell 19ede7bac5 Adds informational stack traces to errors in dispatch 2016-07-19 16:46:33 +12:00
hipitihop a1314eb6c3 Add cljs-test to test-runner via browser/html
- standardised test namespaces: renamed to use -test suffix and moved to eliminate redundant /test folder
- added cljs-test based tests via browser/html. These mimic original karma tests.
   NOTE: previous lein aliases `once` and `auto` have been replaced by `test-once` , `test-auto` & `karma-once`
- update karma.conf & circle.yml
- updated CHANGES.md & CONTRIBUTING.md
2016-07-14 11:21:12 +10:00
Mike Thompson 5572e6ebf1 Checkpoint. Further Miscellaneous work towards Effectual Handlers 2016-07-13 16:28:15 +10:00
Mike Thompson 0b2bcbe65e Complete undo/redo work 2016-06-23 23:41:20 +10:00
Stuart Mitchell f4fb65037e Subscriptions sugar - changed to provide a singleton 2016-06-22 15:41:22 +12:00
Mike Thompson 9452998e0b WIP. undo test fails. 2016-06-22 10:54:41 +10:00
Stuart Mitchell be6fab2c92 added tests for cached subsciptions 2016-06-14 16:10:44 +12:00
Stuart Mitchell 5a4d78ecc8 register-pure-sub: moved into correct namespace 2016-06-14 14:52:37 +12:00
Stuart Mitchell 48a1bda438 register-pure-sub: uses a function to do the work 2016-06-14 14:52:25 +12:00
Stuart Mitchell a5f73a3991 Added tests for existing subscriptions 2016-06-14 14:50:40 +12:00
Daniel Compton 41cf9951d8 Add tests for undo behaviour
Inspired by #149, this adds tests to cover the change that was made. It
also tests the redo logic.
2016-01-28 23:14:43 +13:00
Daniel Compton 3334297f23 Switch to using CircleCI and automated testing with Karma
- Remove travis config
- Add CircleCI config and badge
- Add docs on running the tests
- Create a test runner
- Add npm dependencies and gitignore
2015-12-10 21:47:18 +13:00
Krisztian Szabo 44e0b7383c Remove unnecessary whitespace from tests 2015-07-24 16:39:04 +02:00
mike-thompson-day8 3cf565c8d4 whitespace 2015-04-25 09:42:04 +10:00
mike-thompson-day8 903cd76cc3 Fix test 2015-04-25 09:37:22 +10:00
mike-thompson-day8 c2a9a041eb Add tests for new "on-changes" middleware 2015-04-25 09:31:03 +10:00
Stuart Mitchell f62bb1a324 first run of travis and tests 2015-03-04 17:12:54 +13:00