%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.41 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/root/var/www/html/ppaobm/vendor/bower-asset/moment/tasks/ |
Upload File : |
module.exports = function (grunt) { grunt.task.registerTask('qtest', 'run tests locally', function () { var done = this.async(); var testrunner = require('node-qunit'); testrunner.options.log.assertions = false; testrunner.options.log.tests = false; testrunner.options.log.summary = false; testrunner.options.log.testing = false; testrunner.options.maxBlockDuration = 600000; var tests; if (grunt.option('only') != null) { tests = grunt.file.expand.apply(null, grunt.option('only').split(',').map(function (file) { if (file === 'moment') { return 'build/umd/test/moment/*.js'; } else if (file === 'locale') { return 'build/umd/test/locale/*.js'; } else { return 'build/umd/test/' + file + '.js'; } })); } else { tests = grunt.file.expand('build/umd/test/moment/*.js', 'build/umd/test/locale/*.js'); } testrunner.run({ code: 'build/umd/moment.js', tests: tests }, function (err, report) { if (err) { console.log('woot', err, report); done(err); return; } err = null; if (report.failed !== 0) { err = new Error(report.failed + ' tests failed'); } done(err); }); }); };