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

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

Calling Click() Function On Html Element In Jasmine-phantomjs Test

I run my tests with Karma and PhantomJS: INFO [karma]: Karma v0.12.32 server started at http://loc… Read more Calling Click() Function On Html Element In Jasmine-phantomjs Test

How Do I Reliably Execute Jasmine Tests That Utilize Requirejs Via Phantomjs?

I am using phantomjs to run jasmine test. My jasmine tests are using require around the describe bl… Read more How Do I Reliably Execute Jasmine Tests That Utilize Requirejs Via Phantomjs?

Testing Angularjs Promises In Jasmine 2.0

I've been trying to wrap my head around Jasmine 2.0 and AngularJS promises. I know that: Jasmi… Read more Testing Angularjs Promises In Jasmine 2.0

Jasmine/karma Testing Angular 5 Http Responses

I'm totally new to TDD and I'm trying to debug a big Angular 5 application we're workin… Read more Jasmine/karma Testing Angular 5 Http Responses

Mocking Xhr Calls In Jasmine

I have a question regarding mocking xhr in Jasmine. I have the following Javascript situation: func… Read more Mocking Xhr Calls In Jasmine