You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/unit/ajax.js
+4
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ module( "ajax", {
14
14
});
15
15
16
16
(function(){
17
+
test("Unit Testing Environment",2,function(){
18
+
ok(hasPHP,"Running in an environment with PHP support. The AJAX tests only run if the environment supports PHP!");
19
+
ok(!isLocal,"Unit tests are not ran from file:// (especially in Chrome. If you must test from file:// with Chrome, run it with the --allow-file-access-from-files flag!)");
Copy file name to clipboardExpand all lines: test/unit/core.js
-6
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,5 @@
1
1
module("core",{teardown: moduleTeardown});
2
2
3
-
test("Unit Testing Environment",function(){
4
-
expect(2);
5
-
ok(hasPHP,"Running in an environment with PHP support. The AJAX tests only run if the environment supports PHP!");
6
-
ok(!isLocal,"Unit tests are not ran from file:// (especially in Chrome. If you must test from file:// with Chrome, run it with the --allow-file-access-from-files flag!)");
0 commit comments