Questions tagged as 'jasmine'

0
answers

Call test script function [protractor]

Hello, I have a file that calls several test methods that I created with protractor, it looks something like this: import {MeuCadastro} from './MeuCadastro/MeuCadastro.spec'; import {Rotas} from './Rotas/rotas.spec'; let rotas: Rotas = new Ro...
asked by 22.03.2017 / 19:59
0
answers

HTML Testing (DOM) with Jasmine or another framework

How do I test HTML with Jasmine? I know there is a guy named jquery-jasmine.js who does this but I have no idea how to install it because npm does not work when I try to install it (it says that Git may be in trouble, but all other plugins work...
asked by 13.10.2014 / 22:29
1
answer

test filter scenario

I would like to know the best way to test (with jasmine) a filter with this scenario: function districtFilter(city, array) { var districtFound = array.filter(function(a) { return a.id !== city.id; }); return districtFound;...
asked by 13.04.2018 / 15:55