mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
bb928bde7e
Ref 76df9e4e38
Closes gh-1980
17 lines
326 B
JavaScript
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();
|
|
});
|
|
});
|
|
};
|