]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
QUnit.jsDump => QUnit.dump 15933/head
authorChris Rebert <code@rebertia.com>
Thu, 26 Feb 2015 07:27:12 +0000 (23:27 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 26 Feb 2015 07:29:27 +0000 (23:29 -0800)
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-jsdump-with-qunit-dump

js/tests/unit/phantom.js

index ea7455cfc35a5d06a10d788ba165abb3aeb13c2e..f6f0ac00fd5c1cfe6ede53cdceb5d1ac744afbbf 100644 (file)
@@ -31,8 +31,8 @@
     if (!obj.result) {
       // Dumping large objects can be very slow, and the dump isn't used for
       // passing tests, so only dump if the test failed.
-      actual = QUnit.jsDump.parse(obj.actual)
-      expected = QUnit.jsDump.parse(obj.expected)
+      actual = QUnit.dump.parse(obj.actual)
+      expected = QUnit.dump.parse(obj.expected)
     }
     // Send it.
     sendMessage('qunit.log', obj.result, actual, expected, obj.message, obj.source)