X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fspec%2Fsample.spec.js;h=730f91891675588bebdf3ba2b9a46f87e5759426;hb=184ab14937ca310e83cc36261753babb47b18af1;hp=cad1b90b5814a25cf9438789a668fcad9bb2104a;hpb=4d36f9548170d7755458cb76fd2a4fc03e9ed28b;p=mkws-moved-to-github.git diff --git a/test/spec/sample.spec.js b/test/spec/sample.spec.js index cad1b90..730f918 100644 --- a/test/spec/sample.spec.js +++ b/test/spec/sample.spec.js @@ -1,31 +1,31 @@ -/* Copyright (c) 2013 IndexData ApS. http://indexdata.com +/* Copyright (c) 2013 Index Data ApS. http://indexdata.com * * jQuery sample from system documentation * */ -describe('jasmine-node', function(){ +describe('jasmine-node', function () { - it('should pass', function(){ - expect(1+2).toEqual(3); - }); + it('should pass', function () { + expect(1 + 2).toEqual(3); + }); - it('shows asynchronous test', function(){ - setTimeout(function(){ - expect('second').toEqual('second'); - asyncSpecDone(); - }, 1); - expect('first').toEqual('first'); - asyncSpecWait(); - }); + it('shows asynchronous test', function () { + setTimeout(function () { + expect('second').toEqual('second'); + asyncSpecDone(); + }, 1); + expect('first').toEqual('first'); + asyncSpecWait(); + }); - it('shows asynchronous test node-style', function(done){ - setTimeout(function(){ - expect('second').toEqual('second'); - // If you call done() with an argument, it will fail the spec - // so you can use it as a handler for many async node calls - done(); - }, 1); - expect('first').toEqual('first'); - }); + it('shows asynchronous test node-style', function (done) { + setTimeout(function () { + expect('second').toEqual('second'); + // If you call done() with an argument, it will fail the spec + // so you can use it as a handler for many async node calls + done(); + }, 1); + expect('first').toEqual('first'); + }); });