indent
[mkws-moved-to-github.git] / test / spec / jsdom.spec.js
index 4edf683..725d052 100644 (file)
@@ -4,30 +4,30 @@
  *
  */
 
-describe("jQuery suite", function() {
-  var jsdom = require('jsdom').jsdom;
-  var myWindow = jsdom().createWindow();
+describe("jQuery suite", function () {
+    var jsdom = require('jsdom').jsdom;
+    var myWindow = jsdom().createWindow();
 
-  var $ = require('jquery');
-  var jq = require('jquery').create();
-  var jQuery = require('jquery').create(myWindow);
+    var $ = require('jquery');
+    var jq = require('jquery').create();
+    var jQuery = require('jquery').create(myWindow);
 
-  it("jQuery append test", function() {
-    jQuery("<h1>test passes h1</h1>").appendTo("body");
-    expect( jQuery("body").html() ).toMatch(/<h1>/);
-  });
+    it("jQuery append test", function () {
+        jQuery("<h1>test passes h1</h1>").appendTo("body");
+        expect(jQuery("body").html()).toMatch(/<h1>/);
+    });
 
-  it("$ append test", function() {
-    $("<h2>test passes h2</h2>").appendTo("body");
-    expect( $("body").html() ).toMatch(/<h2>/);
-  });
+    it("$ append test", function () {
+        $("<h2>test passes h2</h2>").appendTo("body");
+        expect($("body").html()).toMatch(/<h2>/);
+    });
 
-  it("jq append test", function() {
-    jq("<h2>test passes h2</h2>").appendTo("body");
-    expect( jq("body").html() ).toMatch(/<h2>/);
-  });
+    it("jq append test", function () {
+        jq("<h2>test passes h2</h2>").appendTo("body");
+        expect(jq("body").html()).toMatch(/<h2>/);
+    });
 
-  it("window test", function() {
-    expect(myWindow).toBeDefined();
-  });
+    it("window test", function () {
+        expect(myWindow).toBeDefined();
+    });
 });