Giter VIP home page Giter VIP logo

Comments (7)

maksimr avatar maksimr commented on July 16, 2024

In version 0.3 of karma-jasmine jasmine is pear dependency.

Note: Since karma-jasmine 0.3.0 the jasmine library is no longer bundled with karma-jasmine and you have to install it on your own.

You can choose any version of [email protected]

from karma-jasmine.

4imble avatar 4imble commented on July 16, 2024

I managed to get it to work, however i had to add these functions to boot.js (They are new to 2.1).

There could be others.

beforeAll: function(beforeAllFunction) {
  return env.beforeAll(beforeAllFunction);
},

afterAll: function(afterAllFunction) {
  return env.afterAll(afterAllFunction);
},

Boot.js has changed significantly in 2.1 also, it might even simplify things as it does not define each of the functions for the interface but seems to call instead:

var jasmineInterface = jasmineRequire.interface(jasmine, env); .

http://jasmine.github.io/2.1/boot.html

from karma-jasmine.

maksimr avatar maksimr commented on July 16, 2024

Hmm...

@4imble thanks!
I also see [email protected] has fit and fdescribe which replace our iit and ddescribe

Need investigate can we use jasmine boot file instead our.

from karma-jasmine.

chesleybrown avatar chesleybrown commented on July 16, 2024

Let me know if the fix I applied in #61 is any good.

from karma-jasmine.

Lunatic83 avatar Lunatic83 commented on July 16, 2024

+1

from karma-jasmine.

jeremyhill-up avatar jeremyhill-up commented on July 16, 2024

I'm transitioning from grunt-contrib-jasmine (@jasmine 2.1) to karma-jasmine (@jasmine 2.0), would be very helpful to have fdescribe/ddescribe straightened out :) not proxying jasmine seems solid.

from karma-jasmine.

maksimr avatar maksimr commented on July 16, 2024

Fixed #69

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.