mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
21 lines
400 B
JavaScript
21 lines
400 B
JavaScript
|
module.exports = function( grunt ) {
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
var spawn = require( "child_process" ).spawn;
|
||
|
|
||
|
grunt.registerTask( "promises-aplus-tests", function() {
|
||
|
var done = this.async();
|
||
|
spawn(
|
||
|
"node",
|
||
|
[
|
||
|
"./node_modules/.bin/promises-aplus-tests",
|
||
|
"test/promises-aplus-adapter.js"
|
||
|
],
|
||
|
{ stdio: "inherit" }
|
||
|
).on( "close", function( code ) {
|
||
|
done( code === 0 );
|
||
|
});
|
||
|
});
|
||
|
};
|