Skip to content

Conversation

@mrazauskas
Copy link
Contributor

@mrazauskas mrazauskas commented Oct 13, 2021

This is rebased and cleaned up of stale #75.

My motivation is simply to make it possible to use tsd with jest.

PS I couldn’t find a way to work directly on #75. New PR seemed to be the solution. If this is somehow non-nonethical or a bad practise, I am fine to close and to proceed in some other way.

xXAlphaManXx and others added 30 commits June 24, 2020 19:28
.concat(program.getSyntacticDiagnostics());

const assertions = extractAssertions(program);
const testCount = countAssertions(assertions);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be named assertionCount as well.

@mrazauskas
Copy link
Contributor Author

Not good idea. It reports count of assertions, not count of tests (there are no tests in tsd).

@mrazauskas mrazauskas closed this Oct 31, 2021
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

Successfully merging this pull request may close these issues.

3 participants