# Category: jasmine

## Jasmine test constructor params

I have the following code this.myEvent.emit(new MyModel({prop1: true, prop2: ‘someString’, someOtherProps…})) In jasmine I have const spy = spyOn(component.myEvent, ’emit’);

## Testing JSON translation files with Jasmine

I’m using the ngx-translate library to provide multiple languages on an Angular application. After finding a couple of missing translated

## Angular 10: Cannot read property of undefined when executing test

To learn Angular, I’ve decided to create a todo-list clone. I have defined the following interfaces and components: ListItem: import

## How to compare values from hot and cold subscription in Jasmine Marbles

I am trying to test the value I am subscribing to. But not getting it. Actually, with my current scenario,

## Karma-Jasime Unit Tests only fail some of the time

My unit tests with Karma-Jasmine only fail sometimes. When i test them seperatly they all succed. When i test them

## Angular unit with component with service and @Input

I am new to angular and unit testing, I am trying to do unit test for the component with service

## Jasmine asynchronous(callback) tests flakily times out

We have a huge bunch of behavioral tests for our angularjs components and a lot of the newer ones require

## Protractor clicks element behind

I’m using Protractor with the Jasmin framework and testing in chrome. I have a pagewide iframe below my webapp (for