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

Classes having one static method or having no methods at all are uncovered #39

Open
zsoltvad opened this issue Mar 21, 2017 · 1 comment

Comments

@zsoltvad
Copy link
Contributor

screen shot 2017-03-21 at pm 7 46 24
screen shot 2017-03-21 at pm 7 48 46

@mezoistvan
Copy link

In order to provide test coverage for these lines, we need to create unit tests like this:

it( 'could be instantiated', () => {
	let browserErrors = new BrowserErrors();
	expect( browserErrors instanceof BrowserErrors ).toBe( true );
} );

This should not be the case.

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