jquery/build/tasks/node_smoke_test.js

17 lines
326 B
JavaScript
Raw Normal View History

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();
});
});
};