Skip to content Skip to sidebar Skip to footer
Showing posts with the label Jasmine

Jasmine 2.0: Refactoring Out 1.3's Runs() And Waitsfor()

The recently released Jasmine 2.0 removes the waits functions and the runs() from the Async Jasmine… Read more Jasmine 2.0: Refactoring Out 1.3's Runs() And Waitsfor()

Jasmine - How To Spyon Instance Methods

I have a function var data = {}; var myFunc = function() { data.stuff = new ClassName().doA().doB… Read more Jasmine - How To Spyon Instance Methods

Jasmine 2.0 Test With A Custom Matcher Fails: Undefined Is Not A Function

I have this function in my source file: function gimmeANumber(){ var x = 4; return x; } An… Read more Jasmine 2.0 Test With A Custom Matcher Fails: Undefined Is Not A Function

Angular 1.5 Test Component With Jasmine

I try test my component with Jasmine and Angular-mock, but I don't know how this do. This is m… Read more Angular 1.5 Test Component With Jasmine

Why Is Jasmine Not Executing It() On This Async Test?

I'm trying to test a prototypal method that returns insights about a dataset I am loading via A… Read more Why Is Jasmine Not Executing It() On This Async Test?

Angularjs Jasmine Unit Test Fails With Unexpected Request

Following is my myService.spec.js : 'use strict'; describe('myService', fun… Read more Angularjs Jasmine Unit Test Fails With Unexpected Request

Does Jasmine-node Offer Any Type Of "fail Fast" Option?

When I run a suite of jasmine tests from the command line I'd like some type of fail fast optio… Read more Does Jasmine-node Offer Any Type Of "fail Fast" Option?

Why Does Adding A Reference To Jasmine.js Break My Resharper Test?

I am trying to use Resharper to run my Javascript unit tests using phantomJS [Headless] with Visual… Read more Why Does Adding A Reference To Jasmine.js Break My Resharper Test?