Giter VIP home page Giter VIP logo

Comments (6)

alexanmtz avatar alexanmtz commented on August 14, 2024 2

For Jasmine 2.x the new syntax for call fake is:
spyOn(param, 'param2').and.callFake();

from karma-jasmine.

vojtajina avatar vojtajina commented on August 14, 2024

karma-jasmine0.1.x uses Jasmine 1.3
karma-jasmine0.2.x uses Jasmine 2.0

Use 0.1.5 or update your tests to Jasmine 2.0, see http://jasmine.github.io/2.0/introduction.html

from karma-jasmine.

Mulkave avatar Mulkave commented on August 14, 2024

Cool thanks.

from karma-jasmine.

vojtajina avatar vojtajina commented on August 14, 2024

I just changed the tags on NPM, so if you just do npm install karma-jasmine it will give you 0.1.5 (with Jasmine 1.3), do npm install karma-jasmine@2_0 for Jasmine 2.0)

from karma-jasmine.

Mulkave avatar Mulkave commented on August 14, 2024

yes this breakage appeared this morning although I haven't changed my dependencies. Now I don't have to unless it is updated. Thanks.

from karma-jasmine.

vojtajina avatar vojtajina commented on August 14, 2024

You should depend on ~0.1.0 than it wouldn't break.

On Sat, Feb 15, 2014 at 10:30 AM, Abed Halawi [email protected]:

yes this breakage appeared this morning although I haven't changed my
dependencies. Now I don't have to unless it is updated. Thanks.

Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-35163592
.

from karma-jasmine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.