Build: replace CRLF with LF during minify
[jquery.git] / build / tasks / promises_aplus_tests.js
blob1bbeff08e70beb62d3bce9b7c4779e0d4f97c99f
1 "use strict";
3 module.exports = grunt => {
4         const timeout = 2000;
5         const spawnTest = require( "./lib/spawn_test.js" );
7         grunt.registerTask( "promises_aplus_tests",
8                 [ "promises_aplus_tests:deferred", "promises_aplus_tests:when" ] );
10         grunt.registerTask( "promises_aplus_tests:deferred", function() {
11                 spawnTest( this.async(),
12                         "\"" + __dirname + "/../../node_modules/.bin/promises-aplus-tests\"" +
13                                 " test/promises_aplus_adapters/deferred.cjs" +
14                                 " --reporter dot" +
15                                 " --timeout " + timeout
16                 );
17         } );
19         grunt.registerTask( "promises_aplus_tests:when", function() {
20                 spawnTest( this.async(),
21                         "\"" + __dirname + "/../../node_modules/.bin/promises-aplus-tests\"" +
22                                 " test/promises_aplus_adapters/when.cjs" +
23                                 " --reporter dot" +
24                                 " --timeout " + timeout
25                 );
26         } );