Lista de Matchers de Jasmine 28.1
//Comunes
.toBe();
.not.toBe();
.toEqual();
//Veracidad
.toBeNull()
.toBeUndefined()
.toBeDefined()
.toBeUndefined()
.toBeTruthy()
.toBeFalsy()
//Numeros
.toBeGreaterThan(3);
.toBeGreaterThanOrEqual(3.5);
.toBeLessThan(5);
.toBeLessThanOrEqual(4.5);
//Numeros decimales
expect(0.3).toBeCloseTo(0.3)
//Strings
.not.toMatch(/I/);
.toMatch(/stop/);
//Arrays
.toContain('milk');
//Ecepciones
myfunction.toThrow(Error);