-
Notifications
You must be signed in to change notification settings - Fork 887
2 tests fail on just cloned repo #3443
Comments
I cannot reproduce this on Ubuntu 17.10 Please modify -execCli(["src/configuration.ts"], (err) => {
+execCli(["src/configuration.ts"], (err, stdout, stderr) => {
+ console.log(stdout);
+ console.log(stderr);
+ console.log(err);
assert.isNull(err, "process should exit without an error");
done();
}); then run |
I'm afraid nothing helpfull:
|
Actually this helps a lot. Somehow your cloned repo has the wrong line endings. Try this command to clone: |
Thanks, after I fixed EOLs in Any idea why wrong EOLs lead to |
The warnings are not relevant here. That's because the test runs tslint without The relevant part is prefixed with |
OK, looks like when a spawned process exits with a non-0 error code, nodejs appends its |
But this raises a question: why the actual errors are not copied to the |
Because TSLint outputs all failures to stdout. Changing that would break users |
I get those errors on lots of different projects, really annoying
|
@quantuminformation got a solution there: #1481 (comment) |
yeha got it thx |
Bug Report
Actual behavior
I cloned the repo and followed the instructions in the readme, i.e. executed
yarn compile
and thenyarn test
. Two tests keep failing:Expected behavior
The text was updated successfully, but these errors were encountered: