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

Mismatch in failed tests count #12

Closed
vkrol opened this issue Mar 31, 2017 · 5 comments
Closed

Mismatch in failed tests count #12

vkrol opened this issue Mar 31, 2017 · 5 comments

Comments

@vkrol
Copy link

vkrol commented Mar 31, 2017

Hello!

I have the following failing test:

describe("test suite", () => {
	it("test", () => {
		expect(1).toEqual(2);
	});
});

But TeamCity thinks that this is two tests: https://goo.gl/KxR5De
I use TeamCity 10.0.4 and Jest 19.0.0.

@vkrol
Copy link
Author

vkrol commented Mar 31, 2017

Maybe these lines of code are redundant https://github.com/winterbe/jest-teamcity-reporter/blob/master/index.js#L23-L27 What do you think about it?

@vkrol
Copy link
Author

vkrol commented Apr 1, 2017

If I comment out these lines than the failed tests count is correct.

@winterbe
Copy link
Owner

winterbe commented Apr 1, 2017 via email

@vkrol
Copy link
Author

vkrol commented Apr 1, 2017

@winterbe thanks! I can create the PR with the removing of these lines of code if you think that this is correct.

@vkrol
Copy link
Author

vkrol commented Apr 3, 2017

@winterbe thanks!

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