build: Enable karma debug log and use progress reporter
authorAntoine Musso <hashar@free.fr>
Mon, 21 Dec 2015 16:39:12 +0000 (17:39 +0100)
committerKrinkle <krinklemail@gmail.com>
Fri, 15 Jan 2016 23:25:38 +0000 (23:25 +0000)
Should help diagnostic of QUnit failures such as:

    Error: Pending AJAX requests: 0 (active: 1)

Change-Id: I0ed1c8f0c26d49fa13dab2d9de20181d48ee2932

Gruntfile.js

index 946b652..354f048 100644 (file)
@@ -56,8 +56,9 @@ module.exports = function ( grunt ) {
                                        included: true,
                                        served: false
                                } ],
+                               logLevel: 'DEBUG',
                                frameworks: [ 'qunit' ],
-                               reporters: [ 'dots' ],
+                               reporters: [ 'progress' ],
                                singleRun: true,
                                autoWatch: false,
                                // Some tests in extensions don't yield for more than the default 10s (T89075)