Giter Club home page Giter Club logo

Comments (1)

lucassus avatar lucassus commented on July 29, 2024

Compare this well-formatted message:

  Service: alert
    ✗ alerts the given message
        expected Expectation met: Anonymous mock([...]) once to have been called with arguments This is the message!!
            Expectation met: Anonymous mock([...]) once(This is the message!)
        AssertionError: expected Expectation met: Anonymous mock([...]) once to have been called with arguments This is the message!!
            Expectation met: Anonymous mock([...]) once(This is the message!)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/test/spec/services/alertSpec.js:25

with bloated:

  Service: alert
    ✗ alerts the given message
        expected Expectation met: Anonymous mock([...]) once to have been called with arguments This is the message!!
            Expectation met: Anonymous mock([...]) once(This is the message!)
        AssertionError: expected Expectation met: Anonymous mock([...]) once to have been called with arguments This is the message!!
            Expectation met: Anonymous mock([...]) once(This is the message!)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/chai/chai.js:925
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/app/bower_components/sinon-chai/lib/sinon-chai.js:90
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/chai/chai.js:3627
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/test/spec/services/alertSpec.js:25
            at invoke (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/app/bower_components/angular/angular.js:3869)
            at workFn (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/app/bower_components/angular-mocks/angular-mocks.js:2147)
            at callFn (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4338)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4331
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4728
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4819
            at next (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4653)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4663
            at next (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4601)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4625
            at done (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4300)
            at callFn (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4343)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4331
            at next (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4626)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4625
            at done (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4300)
            at callFn (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4343)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4331
            at next (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4626)
            at /home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:4630
            at timeslice (/home/lucassus/Projects/OpenSource/angularjs-tdd-recipes/node_modules/mocha/mocha.js:5761)

from karma-spec-reporter.

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.