Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled rejection when using markdown reporter #146

Closed
tjconcept opened this issue Jun 18, 2015 · 2 comments
Closed

Unhandled rejection when using markdown reporter #146

tjconcept opened this issue Jun 18, 2015 · 2 comments

Comments

@tjconcept
Copy link

~/project (master) $ npm test | tap -R markdown -
/home/tj/.npm-conf/lib/node_modules/tap/node_modules/tap-mocha-reporter/lib/reporters/markdown.js:45
        key = SUITE_PREFIX + suite.title;
                                  ^
TypeError: Cannot read property 'title' of undefined
    at mapTOC (/home/tj/.npm-conf/lib/node_modules/tap/node_modules/tap-mocha-reporter/lib/reporters/markdown.js:45:35)
    at generateTOC (/home/tj/.npm-conf/lib/node_modules/tap/node_modules/tap-mocha-reporter/lib/reporters/markdown.js:70:15)
    at new Markdown (/home/tj/.npm-conf/lib/node_modules/tap/node_modules/tap-mocha-reporter/lib/reporters/markdown.js:74:3)
    at new Formatter (/home/tj/.npm-conf/lib/node_modules/tap/node_modules/tap-mocha-reporter/index.js:48:19)
    at Object.<anonymous> (/home/tj/.npm-conf/lib/node_modules/tap/bin/run.js:340:14)
    at Module._compile (module.js:426:26)
    at Object.Module._extensions..js (module.js:444:10)
    at Module.load (module.js:351:32)
    at Function.Module._load (module.js:306:12)
    at Function.Module.runMain (module.js:467:10)
@isaacs
Copy link
Member

isaacs commented Jun 18, 2015

Technically this is an issue with https://github.com/isaacs/tap-mocha-reporter

It needs a suite to exist and have a title before we have a suite yet.

@tjconcept
Copy link
Author

Okay. Just wanted to report it :)

@isaacs isaacs closed this as completed Dec 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants