Top "Karma-jasmine" questions

Karma-Jasmine is an adapter for the Jasmine testing framework,which is shipped with Karma by default.

what is the real difference between ng test and ng e2e

I am afraid someone close my question but I couldn't find a satisfying question (maybe because I am very limited …

angular jasmine protractor angular-cli karma-jasmine
Expect not toThrow function with arguments - Jasmine

I have function that gets 3 arguments. I want to check that this function not throwing an error. I did something …

javascript testing jasmine karma-runner karma-jasmine
jasmine test fails with undefined is not a function(evaluating $browser.$$checkUrlChange())

I have a following controller: .controller('ProjectUserAddCtrl', ['$scope', 'ProjectUser', '$q', 'i18nNotifications', function($scope, ProjectUser, $q, i18nNotifications) { …

javascript angularjs jasmine karma-jasmine
Disconnected (1 times), because no message in 10000 ms using Karma-Jasmine

Using Karma runner with jasmine. After all the configuration done, I type on terminal the below command: karma start public/…

node.js karma-runner karma-jasmine
Is jasmine supposed to execute specs in the order they are declared or in a random order?

un-comment the last spec. All hell breaks loose... why? describe('test', function() { var index = 1; it('test 1', function() { expect(index).…

javascript unit-testing jasmine karma-jasmine
Lifecycle hook of AfterViewInit in Jasmine test

I am confused on lifecycle hooks in relationship with Jasmine testing. The LifeCycle Angular doc does not mention testing https://…

angular typescript jasmine karma-jasmine
How to get around memory error with karma & phantomjs

We're running tests using karma and phantomjs Last week, our tests mysteriously started crashing phantomJS with an error of -1073741819. …

phantomjs karma-runner karma-jasmine
What is the difference between fakeAsync and async in angular2 testing

I know that tick() function utilizes fakeAsync. And also I can use fixture.whenStable().then() with async and fakeAsync as …

javascript angular jasmine karma-jasmine angular2-testing
Angular 5 using material, jasmine karma test fail with mat-icon

I'm trying to run jasmine karma with ng test Surprise with all the issues with Angular Materials. I see example …

angular angular-material karma-jasmine angular-material2
What is TestBed in Jasmine

I am new to Jasmine with Angular 2, I am frequently working with the TestBed object when writting a Testcase and …

angular jasmine karma-jasmine angular2-testing