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

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

Return A Promise In Jasmine Directive Controller

In my unit test i need to return a promise so that my tests don't fail: describe('refugeeRe… Read more Return A Promise In Jasmine Directive Controller

Making Both Parts Of Expect Resolve Promises

The Problem: In Protractor, expect() is patched to implicitly understand promises which enables a s… Read more Making Both Parts Of Expect Resolve Promises

Jasmine 2.0 Async Beforeeach Not Waiting For Async To Finish

I am using Jasmine 2.0 and require.js. I cannot get the async tests to work properly when I put the… Read more Jasmine 2.0 Async Beforeeach Not Waiting For Async To Finish

Protractor + Simple-ssh How To Get It Sync Together In Jasmine

I'm writing some e2e tests with protractor . During one test I have to physically connect to de… Read more Protractor + Simple-ssh How To Get It Sync Together In Jasmine

Why Jasmine Spy Doesn't Resolve The Function Object By Reference?

I have the following simple service app.factory('Shoes', function() { function a() {ret… Read more Why Jasmine Spy Doesn't Resolve The Function Object By Reference?