jasmine.md

July 15, 2021 · View on GitHub

Bookmarks tagged [jasmine]

www.codever.land/bookmarks/t/jasmine

Testing Angular with jest

https://ordina-jworks.github.io/testing/2018/08/03/testing-angular-with-jest.html

Examples about how replace some Jasmine specific code by Jest specific code.


Unit Testing in Angular: Stubs vs Spies vs Mocks

https://www.amadousall.com/unit-testing-angular-stubs-vs-spies-vs-mocks/

In this article, I will show you the differences between the various kinds of test doubles, and how to use them when unit testing Angular applications using Jasmine.


Introduction to Unit Testing in Angular ← Alligator.io

https://alligator.io/angular/introduction-unit-testing/

It’s easy to get started with unit testing for Angular 2+ apps. If your projects was setup using the Angular CLI, everything will be ready for you to start writing tests using Jasmine as the testing f...


javascript - Jasmine.js comparing arrays - Stack Overflow

http://stackoverflow.com/questions/15717844/jasmine-js-comparing-arrays

describe('toEqual', function() {
    it('passes if arrays are equal', function() {
        var arr = [1, 2, 3];
        expect(arr).toEqual([1, 2, 3]);
    });
});

toBe() versus `toEqual(...


Jasmine documentation home

https://jasmine.github.io/pages/docs_home.html

List of hyperlinks to the different version docs.