summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix fastdom-strict callbacks not being called with context (fixes #108) (#109)Tomer Lahav2017-05-021-0/+18
|
* extract context binding from loop, apply when added (#84)Deryck2016-06-061-1/+1
| | | | | | | | * extract context binding from loop, apply when added * pass function as first param to mutate * corrected to match other test cases
* Fixed incorrect context in fastdom-promised (closes #81)origin/81-fastdom-promised-ctxWilson Page2016-05-041-0/+10
|
* Replaced Object.assign() with custom mixin()origin/73-object-assignWilson Page2016-01-051-0/+8
|
* V1origin/v1-betaWilson Page2016-01-0410-652/+658
|
* Should be allowed to pass and id as a string or a number to .clear()origin/issue54Wilson Page2015-03-171-0/+14
|
* Remove only flagWilson Page2013-10-251-1/+1
|
* Prove that errors thrown in read/write jobs clog the queueWilson Page2013-10-251-0/+34
|
* Wrap rAF for testing do that we can catch errors and prevent them hitting ↵Wilson Page2013-10-251-6/+20
| | | | the test runner
* Alter tests to catch errors in existing methodsWilson Page2013-10-251-12/+9
|
* Add tests to prove error handling bugWilson Page2013-10-253-3/+59
|
* Fix bug whereby unnecessary frame being scheduled when read inside write, ↵Wilson Page2013-10-151-0/+76
| | | | inside read
* Update error catching testWilson Page2013-10-151-5/+5
|
* Make a differentiation between the read.write batch and the frame queueWilson Page2013-10-142-3/+3
|
* Not quiet by defaultWilson Page2013-10-141-5/+14
|
* Re-write with single rAF loopWilson Page2013-10-143-19/+91
|
* Set up JSHint and fix outstanding violationsTimo Tijhof2013-10-123-19/+19
| | | | | | | Added a jshintrc file resembling as close as what the source code did already. The only violation was that main code used single quotes and tests double quotes. Shall we go for single quotes, then?
* Various minor clean upTimo Tijhof2013-10-122-4/+4
| | | | | | | | | | | | | | | | | | | * main: Fix typo in comment * package: Removed redundant "node_modules/.bin" prefix. npm script commands are executed in a subshell with that directory in the execution path: https://npmjs.org/doc/scripts.html#ENVIRONMENT So even if the shell running `npm test` didn't install have it globally, this will work fine. * Add missing newline at EOF of various files. * Consistently use single quotes (main js file does so mostly except for one line). * Consistently name test suites lowercase (in case of 'defer' and 'clear', like the method names they test).
* Add tests to check refs are being cleaned upWilson Page2013-10-052-0/+33
|
* Simplify directory structureWilson Page2013-10-051-1/+1
|
* Single clear method to clear all types of job (closes #16 closes #9)Wilson Page2013-10-051-4/+23
|
* Accepts optional context in deferJingwei "John" Liu2013-09-251-2/+13
| | | | | Test case for defer job with context Halt defer wrapper when frame is negative
* Test setting of onError handlerWilson Page2013-09-191-2/+25
|
* Added context related testWilson Page2013-09-171-0/+20
|
* Update tests to match new APIWilson Page2013-09-163-9/+32
|
* Tests for defer methodWilson Page2013-09-122-0/+25
|
* Change name from dombatch to fastdomWilson Page2013-09-104-36/+36
|
* Convert test suit to MochaWilson Page2013-08-274-52/+82
|
* Rename and move unused filesWilson Page2013-08-273-13/+0
|
* Write context argument testsWilson Page2013-08-261-0/+22
|
* Write tests for clear methodsWilson Page2013-08-264-4/+66
|
* DomBatch should return instantiated version so it is shared across modules ↵Wilson Page2013-08-261-0/+1
| | | | by default
* Account for test runner env not having rafWilson Page2013-08-263-7/+11
|
* Added first set of testsWilson Page2013-08-263-0/+120