That's expected. See Jasmine Matchers https://github.com/pivotal/jasmine/wiki/Matchers