Richard van der Hoff
bd226d94d8
Switch from jasmine to mocha + expect + lolex
...
Much of this transformation has been done automatically:
* add expect import to each file
* replace `not.to` with `toNot`
* replace `to[Not]Be{Undefined,Null}` with equivalents
* replace `jasmine.createSpy(...)` with `except.createSpy`, and `andCallFake`
with `andCall`
Also:
* replace `jasmine.createSpyObj` with manual alternatives
* replace `jasmine.Clock` with `lolex`
2017-02-08 14:32:37 +00:00
Richard van der Hoff
8a487ca1bc
Merge branch 'rav/source_map_support' into develop
2017-02-08 11:35:27 +00:00
Richard van der Hoff
80d0aadbd0
Install source-map-support in each test
...
This makes exception traces use the source map, which is much more helpful when
debugging.
2017-02-07 22:57:09 +00:00
Richard van der Hoff
d744cecbfa
Make the tests work without olm
...
Olm is an optional dependency, so the tests should work without it.
2017-02-07 22:56:56 +00:00
David Baker
7bca05af64
eslint ---fix for prefer-const
2017-01-19 17:42:10 +00:00
Kegan Dougal
7ed65407e6
Pass through eslint --fix
2017-01-13 10:49:32 +00:00
Richard van der Hoff
14fac241f7
bump to olm 2.1.0
2016-12-23 14:36:22 +00:00
Richard van der Hoff
b11bff5a5b
Bump to Olm 2.0
...
... since the code requires it. Also update the tests.
2016-12-14 14:15:31 +00:00
Mark Haines
eb4166afe3
Whitespace
2016-09-15 14:36:53 +01:00
Mark Haines
b3beaacec7
Remove unnecessary dep
2016-09-15 14:26:05 +01:00
Mark Haines
577b0e8f1b
Add a test to check the olm version
2016-09-15 14:08:25 +01:00