jquery/build/tasks/node_smoke_test.js
2015-01-11 10:28:18 -05:00

17 lines
326 B
JavaScript

module.exports = function( grunt ) {
"use strict";
grunt.registerTask( "node_smoke_test", function() {
var done = this.async();
require( "jsdom" ).env( "", function( errors, window ) {
if ( errors ) {
console.error( errors );
done( false );
}
require( "../.." )( window );
done();
});
});
};