Gregg Van Hove
49fd22ffe6
move everything we can into the env matrix for travis
2019-06-14 15:15:29 -07:00
Gregg Van Hove
5c058b5bc4
Don't include node 10 & 12 in matrix, we're explicit later
2019-06-14 15:11:41 -07:00
Gregg Van Hove
18dbbca436
Refactor travis matrix to compress a bit more
2019-06-14 15:10:16 -07:00
Gregg Van Hove
3e888105f0
Calculate total suite run time inside the env and report in jasmineDone
2019-06-14 14:59:33 -07:00
Gregg Van Hove
15f969bee7
Add @since to most JSDoc comments
...
- See jasmine/jasmine.github.io#117
2019-06-12 16:23:12 -07:00
Gregg Van Hove
984018bfdf
Make no expectations in HTML Reporter message a warning
...
- Fixes #1704
2019-06-12 13:31:25 -07:00
Gregg Van Hove
0f4e53d0e6
Update ci script to pass linting
2019-06-12 12:15:34 -07:00
Gregg Van Hove
c73c5a9dbd
WIP
2019-06-12 11:42:47 -07:00
Gregg Van Hove
243adfd4ce
Use jasmine-browser-runner to execute browser tests
2019-06-12 11:33:14 -07:00
Gregg Van Hove
d610d0bdad
Use browser-runner to start server in CI
2019-06-06 14:46:19 -07:00
Gregg Van Hove
0644731680
Switch to using new jasmine-browser-runner to server files for local testing
2019-06-06 14:07:30 -07:00
Gregg Van Hove
8da1fd1ed1
Merge branch 'master' of https://github.com/pixelpax/jasmine into pixelpax-master
...
- Merges #1713 from @pixelpax
2019-05-30 17:47:16 -07:00
Gregg Van Hove
8af669677a
Cleanup spy promise strategies to be more consistent with Jasmine at large
...
- Rename `resolveWith` to `resolveTo` to match `toBeResolvedTo`
- No longer wrap non-Errors in `rejectWith`
- Fixes #1715
2019-05-23 17:29:12 -07:00
Gregg Van Hove
b4cbe9850f
add prettier and eslint
2019-05-21 18:23:48 -07:00
Gregg Van Hove
cf2c5c9acc
Merge branch 'enelson/src-cleanup-2' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/src-cleanup-2
...
- Merges #1708 from @elliot-nelson
2019-05-21 17:45:46 -07:00
Gabriel Elkind
4e10cf84d5
Adds in the source-- whoops!
2019-05-20 23:51:29 -05:00
Gregg Van Hove
9f875ce666
Older versions don't support const, use var
2019-05-20 17:56:27 -07:00
Gregg Van Hove
df6a71e37d
Merge branch 'spy-to-string' of https://github.com/johnjbarton/jasmine into johnjbarton-spy-to-string
...
- Merges #1712 from @johnjbarton
2019-05-20 17:22:05 -07:00
Gregg Van Hove
32a3288c9d
Merge branch 'elliot-nelson-enelson/pp'
2019-05-20 17:18:29 -07:00
Gregg Van Hove
b12981a3e7
build dist for rounding fix
2019-05-20 17:17:55 -07:00
Gregg Van Hove
cbbdd360f8
Merge branch 'enelson/pp' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/pp
...
- Merges #1711 from @elliot-nelson
- Closes #1700
- Closes #1575
2019-05-20 17:13:41 -07:00
Gregg Van Hove
3a89cc92fb
Merge branch 'paulvanbrenk-fix-1695'
...
- Merges #1710 from @paulvanbrenk
- Fixes #1695
2019-05-20 17:10:39 -07:00
Gabriel Elkind
88c8c905ba
Adds width to root level html-reporter class
2019-05-20 15:25:38 -05:00
johnjbarton
d1adbdc72b
fix(PrettyPrint): jasmine.createSpyObj('obj', ['toString']);
...
The PrettyPrint handler for scalars uses toString() but if that method
has been spyed on, then the stringify fails with
TypeError: Cannot read property 'length' of undefined.
By hanlding this case earlier in format() we avoid the error.
Add unit test covering this case.
2019-05-20 09:33:47 -07:00
Elliot Nelson
8225bb935f
Explicitly test pretty printing objects with nested invalid toString
2019-05-20 09:09:07 -04:00
Elliot Nelson
9f704b6f3a
PrettyPrinter handles objects with invalid toString implementations
2019-05-20 09:01:10 -04:00
Paul van Brenk
69a7449e50
Fix toBeCloseTo matcher for Node.js 12 and Chrome 74
2019-05-19 12:46:32 -04:00
Elliot Nelson
b1da6e3960
Cleanup: unused vars, dangling commas, negation
2019-05-18 08:11:47 -04:00
Elliot Nelson
1e855aa9b8
Cleanup: whitespace
2019-05-18 08:10:11 -04:00
Gregg Van Hove
e04d3d8a62
Fix bad merge for spyOnProperty error message
2019-05-17 17:07:47 -07:00
Gregg Van Hove
06814769c6
Merge branch 'enelson/spyregerrors' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/spyregerrors
...
- Merges #1706 from @elliot-nelson
2019-05-17 16:44:26 -07:00
Gregg Van Hove
309e6df8fd
Use Object.create to make an object with null prototype
2019-05-17 16:31:15 -07:00
Gregg Van Hove
ea1bac5b74
Merge branch 'enelson/spyonproperty' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/spyonproperty
...
- Merges #1705 from @elliot-nelson
2019-05-17 16:21:17 -07:00
Elliot Nelson
befb8995e6
spyOnProperty jasmine-style error messages with usage note
2019-05-17 12:02:44 -04:00
Elliot Nelson
1e13039478
spyOnProperty respects the allowRespy flag
2019-05-17 11:43:22 -04:00
Gregg Van Hove
11b0d95a7d
Merge branch 'enelson/toBeInstanceOf' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/toBeInstanceOf
...
- Merges #1697 from @elliot-nelson
2019-05-16 17:35:09 -07:00
Gregg Van Hove
95f6ba5fa2
Merge branch 'elliot-nelson-enelson/ci-errors'
2019-05-15 17:54:50 -07:00
Gregg Van Hove
d331e9cc38
Merge branch 'enelson/ci-errors' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/ci-errors
...
- Merges #1701 from @elliot-nelson
2019-05-15 17:54:24 -07:00
Gregg Van Hove
0129a7d007
Update contributing doc based on some of the newer tooling
...
- Fixes #1702
2019-05-15 17:34:57 -07:00
Elliot Nelson
0fded24d35
Introduce matchers#toBeInstanceOf
2019-05-15 11:51:46 -04:00
Elliot Nelson
c88c772ffb
Print global errors encountered during CI runs
2019-05-15 11:39:45 -04:00
Gregg Van Hove
3dde56bbd8
Merge branch 'enelson/spyonall' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/spyonall
...
- Merges #1699 from @elliot-nelson
- Fixes #1677
2019-05-14 18:01:27 -07:00
Gregg Van Hove
e377f1caae
Merge branch 'elliot-nelson-enelson/ci'
...
- Merges #1598 from @elliot-nelson
2019-05-14 17:21:28 -07:00
Elliot Nelson
91fe87ca56
Simplify error checks in ci.js
2019-05-14 06:57:46 -04:00
Elliot Nelson
ee15309a8f
Extend spyOnAllFunctions to include prototype and parent methods
2019-05-11 18:20:13 -04:00
Elliot Nelson
49c03d4a22
Improve error handling in CI test launcher
2019-05-10 06:18:35 -04:00
Gregg Van Hove
9a18fdca27
Merge branch 'enelson/spystrategies' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/spystrategies
...
- Merges #1688 from @enelson
- See #1590
2019-05-09 17:30:45 -07:00
Elliot Nelson
b2fb92eedd
Promise-based strategies are now named resolveWith and rejectWith
2019-05-09 06:12:06 -04:00
Elliot Nelson
df818f3fbc
rejectValue wraps non-Errors like throwError does
2019-05-08 09:36:12 -04:00
Elliot Nelson
4731b4ee4d
Keep all Promise implementation details internal
2019-05-08 09:13:41 -04:00