Bookmarks tagged [jasmine]
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.
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.
- 📆 published on: 2018-02-28
- tags: testing, jasmine, sinonjs, test-double, angular
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...
- tags: angular, testing, jasmine, unit-testing
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(...
- tags: jasmine
https://jasmine.github.io/pages/docs_home.html
List of hyperlinks to the different version docs.
- tags: jasmine, docs, javascript