blob: c4fb86d4c27e5e51bcba541f91a9ca7a5e3db48a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
module.exports = function( grunt ) {
"use strict";
var spawnTest = require( "./lib/spawn_test.js" );
grunt.registerTask( "promises_aplus_tests",
[ "promises_aplus_tests_deferred", "promises_aplus_tests_when" ] );
grunt.registerTask( "promises_aplus_tests_deferred", function() {
spawnTest( this.async(),
"./node_modules/.bin/promises-aplus-tests",
"test/promises_aplus_adapter_deferred.js"
);
} );
grunt.registerTask( "promises_aplus_tests_when", function() {
spawnTest( this.async(),
"./node_modules/.bin/promises-aplus-tests",
"test/promises_aplus_adapter_when.js"
);
} );
};
|