aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks/promises_aplus_tests.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2017-09-20 15:32:35 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2017-09-25 19:27:50 +0200
commit781647b1820206e95e5c32be2dffb20e9096b1e4 (patch)
tree48e0bbe8a030e9e0c6fae183f4163a6278dd0a00 /build/tasks/promises_aplus_tests.js
parent90bac40a5123038c94a6fd8c1fde7fbe758b08c7 (diff)
downloadjquery-781647b1820206e95e5c32be2dffb20e9096b1e4.tar.gz
jquery-781647b1820206e95e5c32be2dffb20e9096b1e4.zip
Build: Drop cross-spawn, use child_process.spawn shell option
Diffstat (limited to 'build/tasks/promises_aplus_tests.js')
-rw-r--r--build/tasks/promises_aplus_tests.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/tasks/promises_aplus_tests.js b/build/tasks/promises_aplus_tests.js
index a0118d1f0..c634da5f7 100644
--- a/build/tasks/promises_aplus_tests.js
+++ b/build/tasks/promises_aplus_tests.js
@@ -9,15 +9,15 @@ module.exports = function( grunt ) {
grunt.registerTask( "promises_aplus_tests:deferred", function() {
spawnTest( this.async(),
- "./node_modules/.bin/promises-aplus-tests",
- "test/promises_aplus_adapters/deferred.js"
+ __dirname + "/../../node_modules/.bin/promises-aplus-tests" +
+ " test/promises_aplus_adapters/deferred.js"
);
} );
grunt.registerTask( "promises_aplus_tests:when", function() {
spawnTest( this.async(),
- "./node_modules/.bin/promises-aplus-tests",
- "test/promises_aplus_adapters/when.js"
+ __dirname + "/../../node_modules/.bin/promises-aplus-tests" +
+ " test/promises_aplus_adapters/when.js"
);
} );
};