Oleg Gaidarenko
c8d15a2f9f
Tests: further improvements QUnit 2.0 migration
...
* Remove QUnit jshint globals
* Extend QUnit.assert methods
* Use assert.async instead of start/stop/done
Ref b930d14ce6
2015-09-08 04:06:20 +03:00
Michał Gołębiowski
1c59b308d2
Build: Acknowledge Android 2.3 is not ES5-compatible
...
Android 2.3 chokes on unquoted reserved words being used as property names
which was making Deferred tests not run.
Acknowledge the sad fact that Android 2.3 is not ES5-compliant browser
and enable the "es3" option in JSHint config.
Fixes gh-2478
Closes gh-2481
2015-07-20 18:37:26 +02:00
Michał Gołębiowski
bb026fc12c
Core: Make jQuery objects iterable
...
Make iterating over jQuery objects possible using ES 2015 for-of:
for ( node of $( "<div id=narwhal>" ) ) {
console.log( node.id ); // "narwhal"
}
Fixes gh-1693
2015-06-13 23:14:36 +02:00
Michał Gołębiowski
1556c4661a
Build: Update grunt-contrib-jshint
2015-06-13 22:45:52 +02:00
Stephen Edgar
34da7d5529
Build: remove deprecated JSHint options
...
JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.
Closes gh-2029
2015-03-08 06:30:01 +03:00
Michał Gołębiowski
95b21c6ec2
Build: Upgrade QUnit to 1.14.0
2014-02-05 15:35:48 +01:00
John Paul
b407bddea2
Effects: Integrate sinon fake timers into tests. Close gh-1377.
2013-11-24 15:22:09 -05:00
Richard Gibson
13d58a9bec
No ticket: Fix subproject iframe tests
2013-10-11 15:08:07 -04:00
Timmy Willison
5093b89f08
Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm)
2013-09-06 17:11:32 -04:00
Richard Gibson
0c18520923
No ticket: Hide the testing-support jQuery from tests
2013-09-03 10:43:32 -04:00
Timmy Willison
004c1fc5bb
Pass all tests (and load Sizzle fixture correctly) when loading with AMD
2013-08-29 16:18:17 -04:00
Michał Gołębiowski
c33108cad1
Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Close gh-1283.
2013-07-11 12:52:48 -04:00
Timmy Willison
0fa52c11cb
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755 .
2013-04-09 11:59:31 -04:00
Steven Benner
237413e75d
Changed .jshintrc predef lists to globals objects.
2013-03-25 21:41:34 -04:00
Timo Tijhof
5dd8a90f73
Make compatible with jshint, lint test/data. Close gh-1043.
2012-12-06 13:46:37 -05:00
jaubourg
b7ece8c620
Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore."
...
This reverts commit 228ab3ddae
.
2012-12-05 14:54:14 +01:00
jaubourg
6df2900d3a
Revert "Fixes spacing"
...
This reverts commit 2a419a7e8f
.
2012-12-05 14:54:10 +01:00
jaubourg
2a419a7e8f
Fixes spacing
2012-12-04 07:45:30 +01:00
jaubourg
228ab3ddae
Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore.
2012-12-04 07:40:12 +01:00
Richard Gibson
5b9bf13439
No ticket: improve global variable/ajax request tracking
2012-12-02 23:32:16 -05:00
jaubourg
d31cef38f2
Total revamping of the ajax unit tests
2012-11-26 03:31:19 +01:00
Dave Methvin
a8887e937a
Remove trailing comma to fix test lint.
2012-11-01 19:47:59 -04:00
Richard Gibson
3f51504580
No ticket: remove test suite external dependencies
2012-11-01 17:32:08 -04:00
Sai Wong
2b0e720406
Fix #12048 . Set attributes for XML fragments. Close gh-965.
2012-10-20 15:27:43 -04:00
Mike Sherov
fcaef88968
Clean up jshintrc configs. Close gh-983.
2012-10-16 11:28:11 -04:00
Mike Sherov
ed9e34482a
enforce double quotes via JSHint. Closes gh-975
2012-10-16 10:17:14 -04:00
Chad Killingsworth
de9bed319e
Make unit tests friendly to Closure Compiler. Closes gh-845.
...
Conflicts:
test/unit/effects.js
test/unit/offset.js
2012-07-05 15:52:42 -04:00
Rick Waldron
96246332f7
Adds .jshintrc files for: grunt (default set), src, tests; Adapts jQuery-UI loading method
2012-06-25 10:49:21 -04:00