-
-
Notifications
You must be signed in to change notification settings - Fork 311
Conversation
cf4e109
to
b3d0852
Compare
So, nodeunit fails for me silently on Windows when running the cli_test.js
|
Hi @XhmikosR I spent some time looking at this issue. I have a couple of thoughts that might be helpful.
I'll let you know if I come up with anything else. |
Thanks @tclindner! I already committed your solution for the silent failure. Let me know if you make any more progress on this or phantom tests. |
Hi @XhmikosR I think I might be on to something. It looks like 'Disable tags': function (test) {
test.expect(2);
var stub = sinon.stub(console, 'log');
cli.__set__('process', {
argv: [''],
stdin: {
isTTY: process.stdin.isTTY
}
});
cli();
setTimeout(function() {
test.strictEqual(stub.getCall(0).args[0], '');
test.strictEqual(stub.getCall(1).args[0], '0 lint error(s) found across 0 file(s).');
test.done();
}, 500);
} Let me know what you think! 😄 |
I have no idea about this at all... Can you do I updated the deps and it fixed an issue with nyc we were getting before. |
I need to run. I will try that out later and report back! |
f9b22ad
to
861bc85
Compare
Hey @XhmikosR - I did the steps you outlined above. Nodeunit runs successfully, but neither of the two cli assertions are executing. I verified this by running each of the |
Hey @Herst did you end up going down the route of adding |
@tclindner Seeing how the tooling stuff is work-in-progress I didn't touch it at all. |
Good catch for the engine @XhmikosR 👍 EDIT : |
Yeah, I made an issue. Do you know of any alternative? |
karma could be an alternative to that issue |
If you could make that change, then only covergae would be left :) |
Hmm seems more complex than I thought 😟 I think we should made a NodeJS script which use node-qunit-phantomjs to run each of our |
@Johann-S: sounds good, please make a patch :) |
6715f6c
to
97c71ed
Compare
ac45f49
to
d6342da
Compare
d6342da
to
9093a08
Compare
ed12614
to
e6e5b71
Compare
e6e5b71
to
fb5a7af
Compare
The `console.log` stub needs to be restored.
83a4611
to
25c14e0
Compare
Changes Unknown when pulling 25c14e0 on npm-scripts into ** on master**. |
This is far from ready.
TODO:
Fixes #403, fixes #404.
/CC @bardiharborow @Johann-S for any help