Giter Club home page Giter Club logo

Comments (10)

edwardmsmith avatar edwardmsmith commented on June 7, 2024

I'm seeing this as well.

from jasmine-node.

wcamarao avatar wcamarao commented on June 7, 2024

I fixed it in

https://github.com/mhevery/jasmine-node/blob/master/lib/jasmine-node/reporter.js

From line 89, I moved up the following condition of a valid spec.description.

So it was

specResults.items_.forEach(function(spec){
  if (spec.failedCount > 0 && spec.description) {

And now it is

specResults.items_.forEach(function(spec){
  if (spec.description) {
    if (spec.failedCount > 0) {

The new if will close on line 117

When producing the "it ..." output, it now ignores spec instances from specResults.items_ with no description (in this case, describe blocks).

from jasmine-node.

wcamarao avatar wcamarao commented on June 7, 2024

Opened pull request #89

PS. it only happens on --verbose mode

from jasmine-node.

quangv avatar quangv commented on June 7, 2024

I still get this error...

Was functioncallback@6c52bb54cc9cb531bb4af5d7769b77e63d066ea5 ever pulled in?

0725de3

also what's teamcity?

from jasmine-node.

wcamarao avatar wcamarao commented on June 7, 2024

It looks like it was overlapped by another commit or it wasn't pulled at all.

Teamcity is a CI server by jetbrains: http://www.jetbrains.com/teamcity

from jasmine-node.

wcamarao avatar wcamarao commented on June 7, 2024

mhevery, can you recheck it?

from jasmine-node.

quangv avatar quangv commented on June 7, 2024

@functioncallback so you still get the bug like me?

from jasmine-node.

wcamarao avatar wcamarao commented on June 7, 2024

yeap @quangv

from jasmine-node.

alexlawrence avatar alexlawrence commented on June 7, 2024

Any updates on that issue?

from jasmine-node.

tebriel avatar tebriel commented on June 7, 2024

This does not seem to be an issue anymore. I believe the reporter code has been fixed/refactored/rewritten.
Example output from issue above:

root

  nested
    nested statement
    root statement

from jasmine-node.

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.