Giter VIP home page Giter VIP logo

Comments (9)

moslemezzati avatar moslemezzati commented on August 14, 2024 1

Thanks @moogleberry this my problem too 😆

from karma-jasmine.

kwakayama avatar kwakayama commented on August 14, 2024

After reading a little bit of source code I solved the problem by increasing the `maximumSpecCallbackDepth`` in karma-jasmine/lib/jasmine.js
It seems to be a jasmine core issue.

from karma-jasmine.

MelonBreadVR avatar MelonBreadVR commented on August 14, 2024

Hey Hey @kwakayama , What did you increased it to by the way? I've just hit this same issue.

from karma-jasmine.

kwakayama avatar kwakayama commented on August 14, 2024

@adrianchen19888 My test-suites became quite big so i had to increase maximumSpecCallbackDepth to 200. 😖
I didn't changed currentSpecCallbackDepth.
Unfortunately I had no time to investigate in this problem further.

from karma-jasmine.

MelonBreadVR avatar MelonBreadVR commented on August 14, 2024

It turned out the issue i had was calling the expect(...) after done() was called inside my it block, not relevant to this. 😅

from karma-jasmine.

lpaulger avatar lpaulger commented on August 14, 2024

I also ran into this message... I forgot to add the 'it' statement around my expect. hope that helps!

from karma-jasmine.

thiagoxvo avatar thiagoxvo commented on August 14, 2024

Thanks a lot @lpaulger, same happened here!!

from karma-jasmine.

Macrofig avatar Macrofig commented on August 14, 2024

Had the same problem. I was using setTimeout without calling done(). :P

from karma-jasmine.

moogleberry avatar moogleberry commented on August 14, 2024

I had this too; was using inject() in an it() statement without something to inject (no param)

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.