Skip to content

TAP reporter is broken in nodeunit@0.9.3+ (works in nodeunit 0.9.2) #322

@iamstolis

Description

@iamstolis

tap dependency has been increased recently but the TAP reporter was not updated to reflect this change. It does not work. Try to run any test with --reporter tap option. You will get the following error

/somePath/node_modules/nodeunit/lib/reporters/tap.js:37
    var output = new TapProducer();
                  ^

TypeError: undefined is not a function
    at run (/somePath/node_modules/nodeunit/lib/reporters/tap.js:37:18)
    at Object.<anonymous> (/somePath/node_modules/nodeunit/bin/nodeunit:128:12)
    at Module._compile (module.js:541:32)
    at Object.<anonymous> (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function._load (module.js:409:3)
    at runMain (module.js:575:10)
    at run (node.js:361:7)
    at startup (node.js:153:9)
    at node.js:476:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions