Git Product home page Git Product logo

Comments (7)

dignifiedquire avatar dignifiedquire commented on July 24, 2024

Just tried this and everything is fine when I run it

$ grunt simplemocha
Running "simplemocha:unit" (simplemocha) task

  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  ✖ 1 of 225 tests failed:

  1) browser Result should compute totalTime:
     ReferenceError: bla is not defined
      at Context.emitter (/Users/dignifiedquire/opensource/testacular/offical/test/unit/browser.spec.coffee:24:16)
      at Test.Runnable.run (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runnable.js:213:32)
      at Runner.runTest (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:343:10)
      at Runner.runTests.next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:389:12)
      at next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:269:14)
      at Runner.hooks (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:278:7)
      at next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:226:23)
      at Runner.hook (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:241:7)
      at Hook.Runnable.run (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runnable.js:215:5)
      at next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:235:10)


Warning: Task "simplemocha:unit" failed. Use --force to continue.

Aborted due to warnings.
dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls grunt-simple-mocha
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]

dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls grunt
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]

dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls chai
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]

dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls mocha
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]

from grunt-simple-mocha.

compressed avatar compressed commented on July 24, 2024

@vojtajina Did you find any solution to this? I'm winding up with the same exact behavior.

from grunt-simple-mocha.

sylvain-hamel avatar sylvain-hamel commented on July 24, 2024

Hi, I have the same problem.

from grunt-simple-mocha.

xiaods avatar xiaods commented on July 24, 2024

Hi, I also came across this annoys issue.

Gruntfile.js:
82 ¦ simplemocha: {
83 ¦ ¦ options: {
84 ¦ ¦ ¦ timeout: 3000,
85 ¦ ¦ ¦ ignoreLeaks: false,
86 ¦ ¦ ¦ ui: 'bdd',
87 ¦ ¦ ¦ reporter: 'spec'
88 ¦ ¦ },
89 ¦ ¦ all: ['spec/node/*/-test.js']
90 ¦ },

from grunt-simple-mocha.

sebv avatar sebv commented on July 24, 2024

Same here.

PR #29 fixes the issue.

from grunt-simple-mocha.

xiaods avatar xiaods commented on July 24, 2024

good news. close it ba.

from grunt-simple-mocha.

yaymukund avatar yaymukund commented on July 24, 2024

This is an ancient issue, but you should be able to pass in fullTrace: true as an option. Please reopen if I'm misunderstanding the issue or if that doesn't work. Thank you for reporting.

from grunt-simple-mocha.

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.