04.10.2017 - The Jasmine spec is used to format the tests (more info). expect the result to be with toBe , toEqual , toBeTruthy , toBeFalsy , toBeNull … be used to access the view and also get the instance of the class linked to it. . The problem here is that we don't have any spies, so those functions can't be used..