aboutsummaryrefslogtreecommitdiffstats
path: root/test/node_smoke_tests/document_passed.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node_smoke_tests/document_passed.js')
-rw-r--r--test/node_smoke_tests/document_passed.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/node_smoke_tests/document_passed.js b/test/node_smoke_tests/document_passed.js
new file mode 100644
index 000000000..5bbddb718
--- /dev/null
+++ b/test/node_smoke_tests/document_passed.js
@@ -0,0 +1,17 @@
+/* jshint node: true */
+
+"use strict";
+
+require( "jsdom" ).env( "", function( errors, window ) {
+ if ( errors ) {
+ console.error( errors );
+ process.exit( 1 );
+ }
+
+ var ensureJQuery = require( "./lib/ensure_jquery" ),
+ ensureGlobalNotCreated = require( "./lib/ensure_global_not_created" ),
+ jQuery = require( "../../dist/jquery.js" )( window );
+
+ ensureJQuery( jQuery );
+ ensureGlobalNotCreated( module.exports );
+} );