mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
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();
|
||
|
});
|
||
|
});
|
||
|
};
|