Steve Gravrock
1f318c3c93
Added missing @since annotations
2021-09-23 13:38:52 -07:00
Steve Gravrock
163f93d6ff
Removed constructors from jsdocs of classes that aren't user-constructable
2021-06-21 14:19:31 -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
b4cbe9850f
add prettier and eslint
2019-05-21 18:23:48 -07:00
Felix Rilling
b74e0abee1
Fixed flipped JSDoc.
2019-03-10 11:17:50 +01:00
Steve Gravrock
74287c578c
Check for accidental global variable creation
2018-03-25 12:01:50 -07:00
Steve Gravrock
cf2f922e30
Merge branch 'master' into 3.0-features
2018-01-10 15:28:55 -08:00
Chris Young
62b815c485
Use timeout objects when in node
...
Fixes: https://github.com/jasmine/jasmine/issues/1469
2017-12-21 10:51:07 -08:00
Steve Gravrock
419470e9df
Removed support for IE <10
...
[#150527985 ]
2017-11-08 08:30:22 -08:00
Gregg Van Hove
9cb2f06aa6
Add a first pass at jsdoc.
...
[##130415655] #596
2017-03-21 11:36:41 -07:00
Gregg Van Hove
17c5e2b10d
Merge branch 'fix-clock-date' of https://github.com/andrewiggins/jasmine into andrewiggins-fix-clock-date
...
Fixes #915
Merges #980
2015-12-22 15:18:58 -08:00
Andre Wiggins
c8b212f278
make DelayedFunctionScheduler update the mockDate
2015-11-20 03:45:57 -08:00
Gregg Van Hove and Nikhil Gajwani
d137b83c1c
Don't install the clock if the current timing functions aren't the originals
...
[finish #64116664 ] Fix #782
2015-03-27 10:14:03 -07:00
Steve Gravrock
2af9a45fb2
Correctly handle functions that are scheduled after the clock is uninstalled and reinstalled from within Clock#tick.
...
Fixes #790 .
2015-03-14 17:40:27 -07:00
Gregg Van Hove
ce9600a3f6
Allow the clock to be installed for the duration of a single closure
...
[finish #67434180 ]
2015-03-04 17:41:49 -08:00
kissrobber
062dc6b15a
fix a potential bug
2014-07-21 00:35:33 +09:00
Elana Koren and Gregg Van Hove
eebba2ecca
Support browsers that don't supply a Date.now()
...
- install the mockDate by calling `mockDate` on `clock` instead of
passing an argument to `clock.install()`
[Finishes #66606132 ] Closes #361
2014-02-27 11:55:25 -08:00
Elana Koren and Gregg Van Hove
627a262085
Merge branch 'mock-date' of https://github.com/jalopez/jasmine into jalopez-mock-date
2014-02-27 10:03:35 -08:00
Robin Böhm
31d71ac22f
add single quote check to jshint and fix src files for that
...
[fixes #522 ]
2014-02-24 16:28:16 -08:00
Sheel Choksi
8585ef69a5
Update clock not installed message to reflect current boot installation process
2013-10-29 17:33:51 -07:00
Javier López Pardo
81b822fea9
Add specs for mock date
2013-10-25 14:41:32 +02:00
Javier López Pardo
fb8bede8ea
Add FakeDate object
2013-10-25 13:25:09 +02:00
Davis W. Frank
243ff80196
Fixing global leak for 'timer'
2013-10-24 17:17:05 -07:00
Sheel Choksi
a309117758
Remove TODO: should be easier to load polyfill for timeout functions as Jasmine does not get references to these functions until boot.js is loaded
2013-10-24 11:58:21 -07:00
Davis W. Frank
ba55cb5e38
Mock clock now less intrusive, replacing global timer funcions only when clock is installed. [ Fixes #54168708 ]
2013-08-27 22:46:01 -07:00
Sheel Choksi
61a1f93488
Older IE fixes
...
Still not green, but getting close. Summary of Older IE discrepancies:
- Older IE doesn't have apply/call on the timing functions
- Older IE doesn't allow applying falsy arguments
- Older IE doesn't allow setting onclick to undefined values
- Older IE doesn't have text property on dom nodes
2013-07-21 19:44:47 -07:00
Davis W. Frank
aca43bd3a3
Squashed commit of work to make Jasmine a collection of isolated modules. Note now that in our test suite, "jasmine" now always refers to the build jasmine loaded from jasmine.js and "j$" always refers to the code in the src directories.
...
Also, dev_boot.js is now a copy of boot.js and has additional changes to load jasmine the second time, into the j$ reference.
2013-05-28 14:09:20 -07:00
Davis W. Frank
dd8d3f9788
Fix [ #48420035 ]
2013-04-20 08:27:38 -07:00
Dan Hansen and Davis W. Frank
cf7bb0269b
Added grunt to project.
...
Move from embedded "fork" of jsHint to using grunt's jsHint module.
Cleaned ALL jsHint errors.
Added jasmine.util.isUndefined as alternative to extra careful protection against undefined clobbering
2013-03-01 14:28:18 -08:00
Davis W. Frank
3fc79bac9e
* Removed old Queue & Runner in favor of Suite using the new QueueRunner
...
* New reporter interface across all reporters
* xdescribe & xit now store disabled specs
* Rewrite of HtmlReporter to support new interface and be more performant
2013-02-19 11:45:05 -08:00
Davis W. Frank & Rajan Agaskar
74f928fd54
Re-add Mock Clock behavior as global 'clock'
...
- Use clock.install, clock.tick...
- Add unit coverage.
- Fixes old bug in function scheduler
2012-12-07 10:04:47 -08:00