Steve Gravrock
19292e4ea4
Stop testing against PhantomJS
...
PhantomJS is at end of life, and the last version of Selenium that supported
it was 3.6.0, released almost three years ago. We can't test Jasmine against
PhantomJS without pinning key pieces of the project to increasingly outdated
versions of key libraries.
2019-09-03 15:40:53 -07:00
Steve Gravrock
ba71989d4b
Fixed code formatting
2019-09-03 15:39:00 -07:00
Steve Gravrock
f8e5ea14bc
Fail the CI build if the promise returned from jasmineBrowser.runSpecs is rejected
2019-09-03 15:34:56 -07:00
Steve Gravrock
92dfbdcdc9
Depend on acorn to work around broken deduping
...
See <https://github.com/eslint/espree/issues/393 >.
2019-09-03 15:30:42 -07:00
Steve Gravrock
8ad1dd163b
Merge branch 'arrayContaining-actuals-must-be-arrays' of https://github.com/divido/jasmine
...
* Merges #1746 from @divido
* Fixes #1745
2019-08-30 13:12:47 -07:00
Steve Gravrock
ded8b760aa
Merge branch 'UziTech-patch-1'
...
* Merges #1732 from @UziTech
2019-08-30 10:27:53 -07:00
Tony Brix
07318fba37
docs change
2019-08-30 12:14:19 -05:00
Steve Gravrock
c42358c686
Fixed test failure on IE
2019-08-30 09:30:23 -07:00
Tony Brix
f77ee32c56
Add custom async matchers
2019-08-30 09:30:14 -07:00
David Diederich
0bd636b5d2
Updated arrayContaining to require actual values to be arrays
...
If the actual value of a test was a string, this was matching against arrays
that contained the strings. This was due to the use of the contains matcher,
which against string looks for substrings, when it was intended to look for
array elements.
2019-08-30 01:09:53 -04:00
Pivotal
008b80adc5
Merge branch 'enelson/default' of https://github.com/elliot-nelson/jasmine
...
* Merges #1716 from @elliot-nelson
2019-08-29 13:50:27 -07:00
Steve Gravrock
1a63ab4677
Accept configurations with Promise: undefined.
...
Fixes Karma and anything else that uses Env#configuration
as a starting point for a Jasmine config.
2019-08-26 15:45:13 -07:00
Gregg Van Hove
0449b35f5a
Merge branch 'tobe-tostring' of https://github.com/johnjbarton/jasmine into johnjbarton-tobe-tostring
...
- Merges #1718 from @johnjbarton
- Fixes #1726
2019-08-07 12:03:46 -07:00
Steve Gravrock
e50a7b6985
Merge branch 'add-map-set-matchers' of https://github.com/eventlistener/jasmine
...
* Merges #1741 from @eventlistener
2019-08-03 12:18:35 -07:00
Steve Gravrock
b2d9aab2b8
Use the same spec file pattern for both node and browser
2019-08-03 12:17:52 -07:00
Olga Kozlova
b01d86840a
mapContaining and setContaining asymmetric matchers
2019-08-03 22:14:48 +03:00
sgravrock
385ad33f60
Merge pull request #1736 from olleolleolle/patch-1
...
Gemspec: Drop EOL'd property rubyforge_project
2019-08-03 08:58:01 -07:00
Steve Gravrock
18195a868c
Updated async timeout message
...
There are now multiple ways to do async functions, and callbacks
are probably the least common in new code, so the message should
be more general rather than referring to callbacks.
2019-08-03 08:25:57 -07:00
Olle Jonsson
d68b47b76d
Gemspec: Drop EOL'd property rubyforge_project
2019-07-14 10:38:36 +02:00
Steve Gravrock
c100bb6242
Made output of toHaveBeenCalledWith more readable
...
This breaks each call out onto its own line, so that it's much easier to
see where each call starts and how they differ. E.g. previously the output
would be:
Expected spy foo to have been called with [ 'bar', 'baz', 'qux' ] but actual calls were [ [ 42, 'wibble' ], [ 'bar' 'qux' ], [ 'grault '] ]
Now it's:
Expected spy foo to have been called with:
[ 'bar', 'baz', 'qux' ]
but actual calls were:
[ 42, 'wibble' ],
[ 'bar' 'qux' ],
[ 'grault '].
2019-07-13 10:37:05 -07:00
Gregg Van Hove
c37e9b9db0
Add saucelabs badge to readme
2019-07-07 19:37:09 -07:00
Gregg Van Hove
5e87e1410d
update to newer jasmine-browser-runner
2019-07-07 19:20:45 -07:00
Gregg Van Hove
0cd5d9339b
Use node 10 for browser based builds
2019-07-07 19:01:36 -07:00
johnjbarton
6324fda065
PrettyPrinter survives if objects throw in toString
2019-06-27 10:35:59 -07:00
Gregg Van Hove
066162d6bc
Merge branch 'enelson/spyobjproperty' of https://github.com/elliot-nelson/jasmine into elliot-nelson-enelson/spyobjproperty
...
- Merges #1722 from @elliot-nelson
- Closes #1569
- Fixes #1442
2019-06-25 16:26:43 -07:00
Gregg Van Hove
ab01fa1978
Merge pull request #1721 from elliot-nelson/enelson/gitattributes
...
Fix: don't attempt to normalize PNGs (gitattributes)
2019-06-24 16:16:37 -07:00
Elliot Nelson
65e6df55ee
Linting fixes
2019-06-20 07:34:31 -04:00
Elliot Nelson
45475f6d1e
Allow users to pass property names to createSpyObj
2019-06-20 07:33:10 -04:00
Elliot Nelson
a536ca19f2
Don't attempt to normalize PNGs
2019-06-20 06:46:51 -04:00
Gregg Van Hove
9a6262e3cd
bump browser runner to new version
2019-06-14 16:42:10 -07:00
Gregg Van Hove
e7d0d742a8
only turn on sauce_connect for jobs that need it (I think)
2019-06-14 15:43:14 -07:00
Gregg Van Hove
031515db23
rejigger travis again to not run sauce jobs for PRs
2019-06-14 15:27:24 -07:00
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
Elliot Nelson
e07da96354
Apply prettier
2019-06-07 23:33:06 -04:00
Elliot Nelson
96786c793f
Allow users to set a default spy strategy
2019-06-07 23:32:13 -04: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