Deferred: Backwards-compatible standards interoperability

Fixes gh-1722
Closes gh-1996

(cherry picked from commit 555a50d340)
This commit is contained in:
Richard Gibson
2014-12-29 14:14:13 -05:00
parent 9d255b3e50
commit 34f2563179
9 changed files with 701 additions and 117 deletions

View File

@@ -0,0 +1,20 @@
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 );
});
});
};