Gregg Van Hove
da2005fe97
Merge branch 'beforeall-in-xdescribe' of https://github.com/voithos/jasmine into voithos-beforeall-in-xdescribe
...
- Merges #1225 from @voithos
- Fixes #1175
2016-12-02 09:56:36 -08:00
Ben Christel
41a813521b
Fix tests for toEqual diff output in IE
...
- Merges #1236 from @benchristel
2016-11-30 15:34:39 -08:00
Ben Christel
d5e6bf47ed
Make toEqual matcher report the difference between objects
...
- Mismatches deep within object/array structures are pinpointed with a JsonPath-like syntax.
2016-11-14 22:08:34 -08:00
Gregg Van Hove
5a76e59d5b
Merge branch 'spyOnProperty2' of https://github.com/celluj34/jasmine into celluj34-spyOnProperty2
...
- Merges #1203 from @celluj34
- Merges #1008 from @smacker
- Fixes #943
2016-11-04 14:36:56 -07:00
Gregg Van Hove
f5cfa2a4c1
Merge branch 'master' of https://github.com/d-reinhold/jasmine into d-reinhold-master
...
- Merges #1046 from @d-reinhold
- Fixes #510
2016-11-04 10:29:09 -07:00
Zaven Muradyan
c21bdaf35d
Fix bug where before/afterAll were being executed in disabled suites.
2016-10-23 20:40:58 -07:00
Pivotal
369e8cc08b
Merge branch 'mockMethodsShortcut' of https://github.com/mbildner/jasmine into mbildner-mockMethodsShortcut
...
- Merges #1101 from @mbildner
2016-10-17 15:53:05 -07:00
Gregg Van Hove
0e9b9a11c3
Fix tests for new stack clearing in IE
2016-10-14 15:53:00 -07:00
Gregg Van Hove
9750ae59e7
Update env integration specs now that we're really async
2016-10-14 10:13:27 -07:00
Gregg Van Hove
17c89c69d6
Separate clear stack and run it after each spec
...
[finishes #50197985 ][fix #109418332 ]
- Fixes #985
- Fixes #945
- Fixes #366
2016-10-14 09:21:49 -07:00
Gregg Van Hove
d85d6dd4b8
Now that it's valid syntax, make the specs work right with for
2016-09-28 12:19:18 -07:00
Gregg Van Hove
ff85714b24
syntax for a for loop is different than forEach
2016-09-28 11:52:18 -07:00
Gregg Van Hove
0d1a9a72d9
Fix spy arity stuff to work in IE8
2016-09-28 11:49:07 -07:00
Gregg Van Hove
75a5681c5e
Merge branch 'kapke-spy-arity-preservation'
2016-09-28 10:52:17 -07:00
Gregg Van Hove
9df1edbdc9
Use the passed in env to pend browsers so IE8 works
2016-09-28 10:40:53 -07:00
Gregg Van Hove
5279e7a8c4
Checking for Set isn't browser dependant
2016-09-27 16:11:43 -07:00
Gregg Van Hove
c2e2bd7c91
Merge branch 'spy-arity-preservation' of https://github.com/kapke/jasmine into kapke-spy-arity-preservation
...
- Merges #1055 from @kapke
- Fixes #991
2016-09-27 15:42:45 -07:00
Gregg Van Hove
bad9c63bf7
Properly skip Set tests in browsers that don't really support it
2016-09-27 15:36:01 -07:00
Gregg Van Hove
05097b3e42
Merge branch 'set-equality' of https://github.com/alur/jasmine into alur-set-equality
...
- Merges #1067 from @alur
2016-09-27 13:37:57 -07:00
Gregg Van Hove
1efed4c156
Update pretty print specs to work in IE8
2016-09-27 12:26:02 -07:00
Gregg Van Hove
f4849f6401
Merge branch 'pretty-print-cross-frame-objects' of https://github.com/thatfulvioguy/jasmine into thatfulvioguy-pretty-print-cross-frame-objects
...
- Merges #1091 from @thatfulvioguy
- Fixes #1087
2016-09-27 11:40:01 -07:00
Gregg Van Hove
ec2ae4d521
Merge branch 'custom-testers-in-asymmetric-matchers' of https://github.com/joeyparrish/jasmine into joeyparrish-custom-testers-in-asymmetric-matchers
2016-09-27 11:01:45 -07:00
Gregg Van Hove
04bb56a5b5
Allow currently registered reporters to be cleared
...
- jasmine/jasmine-npm#88
2016-09-16 16:02:08 -07:00
Gregg Van Hove
4e47b78f1f
Use isFunction to check for functionness in callFake
...
- Fixes #1191
2016-09-14 16:06:44 -07:00
Sukharev Maxim
56191cfb2e
Implement spies for get/set functions on accessor properties
2016-09-12 18:22:58 -05:00
Gregg Van Hove
8624a52ee0
Don't auto install phantom since it doesn't seem to work on travis
2016-09-07 15:48:20 -07:00
Sean Parmelee
8676bbf11a
fallback on assignment when a spy cannot be deleted
2016-09-01 13:39:25 -05:00
Gregg Van Hove
c7cc3b4a29
Properly tick date along with clock
...
- Specifically when there aren't functions scheduled at the ticks
Fixes #1190
2016-08-31 21:24:01 -07:00
Gregg Van Hove
f196faf0bb
Update anonymous constructor pretty print specs to work in IE
2016-08-25 15:29:32 -07:00
Gregg Van Hove
850204dfb8
Merge branch 'prettyPrintCustomConstructortoString' of https://github.com/mbildner/jasmine into mbildner-prettyPrintCustomConstructortoString
...
- Fixes #1019
- Merges #1099
2016-08-15 15:50:59 -07:00
Gregg Van Hove
b9c25e88b9
Merge branch 'callfake-better-error' of https://github.com/kapke/jasmine into kapke-callfake-better-error
...
- Merges #1059
- Fixes #1016
2016-08-15 09:34:03 -07:00
Ben Christel
227b0c62a3
Make the build pass in ie8
...
- pending() throws an exception in ie8. I have not dug into the root cause.
- iframe.contentWindow.eval() isn't supported in ie8
2016-07-24 21:48:11 -07:00
Ben Christel
cb1001e6c2
De-dup test setup
...
- Move environment-specific tests for toEquals into describe blocks so the check for the environment can be shared
2016-07-21 12:26:43 -07:00
Ben Christel
a0bce8031e
Test comparison of objects from different frames
2016-07-21 12:10:37 -07:00
Chris Amavisca
15f92b226c
Update devDependencies and fix issues from this
...
- Point to npm released version of jasmine node runner
2016-07-20 20:11:52 -07:00
Ben Christel
738c10fd43
Make toEqual pass for arrays with equivalent properties
...
- Fixes a bug caused by accidental use of a closure variable
2016-07-18 16:48:00 -07:00
Joey Parrish
de7b7c029e
Pass custom testers to asymmetric testers
...
This allows custom equality testers to affect asymmetric matches.
This avoid suprises when combining addCustomEqualityTester with
objectContaining or arrayContaining.
Closes #1138
2016-06-23 14:33:39 -07:00
Pivotal
7a62969a14
createSpyObj may use object for method->response shorthand
...
examples:
```JavaScript
var mySpy = jasmine.createSpyObj("mySpy", { getAge: 55, getLanguage: "JavaScrizzle" });
var age = mySpy.getAge();
expect(age).toEqual(55);
expect(mySpy.getAge).toHaveBeenCalled();
```
Also does:
Add "isObject_" method to utils to make it easier for "createSpy" to support an array or object of stubs
2016-04-25 17:10:22 -04:00
Pivotal
604cd6132f
Prettyprint objects whose constructors have custom toString method
...
- when the constructor has a name, print the name
- when the constructor does not have a name, print `<anonymous>`
[Fixes issue 1019](https://github.com/jasmine/jasmine/issues/1019 )
2016-04-25 14:23:48 -04:00
Fulvio Valente
2710bdfc5e
Correctly pretty print objects from other contexts (e.g. iframes) and which do not override toString
...
Fixes #1087
2016-04-11 18:51:04 +01:00
slackersoft
954a6a0091
Merge branch 'feat/improveErrorMessages' of https://github.com/dhoko/jasmine into dhoko-feat/improveErrorMessages
...
- Merges #1026 from @dhoko
- Fixes #1025
2016-03-18 10:59:31 -07:00
slackersoft
11cfaae42a
Merge branch 'marneborn-bluebird3.0-warnings'
...
- Merges #1062 from @marneborn
- Fixes #992
2016-03-11 09:13:43 -08:00
Erik Welander
927cc011d6
Added support for ES6 sets to toContain and toEqual.
2016-03-04 02:09:59 -08:00
Mikael Arneborn
b578e72c8f
Added failing test for done returning null
2016-03-03 08:54:46 -08:00
Gregg Van Hove
87e808282b
Always quote the browser version so nothing converts it to a float
2016-03-01 17:34:24 -08:00
dhoko
14067d0785
Improve errors with the domaine and how to use the API
2016-02-29 10:33:45 +01:00
Dominick Reinhold
d1a94bcf50
When the HtmlReporter has a 'spec' query param, the spec list only shows matching specs/suites
2016-02-28 22:47:10 -08:00
Andrzej Kopeć
bbf3f6825c
Improve error message when passing a non-function to callFake
2016-02-28 21:37:28 +01:00
Gregg Van Hove
b6798cdb06
Html Reporter shows error bar for errors from a global afterAll
...
Issue #811
2016-02-25 16:12:15 -08:00
Gregg Van Hove
dbd198f7d0
Allow expectations in a global beforeAll or afterAll
...
- Report afterAll failures in jasmineDone
- Issue #811
2016-02-25 15:01:47 -08:00