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

test: "toggle emit checkbox value" throws error #23

Open
mittalyashu opened this issue May 8, 2021 · 0 comments
Open

test: "toggle emit checkbox value" throws error #23

mittalyashu opened this issue May 8, 2021 · 0 comments
Labels
bug Something isn't working difficulty:easy tests

Comments

@mittalyashu
Copy link
Member

Running this test throws error TypeError: Cannot read property '0' of undefined.

      20 |
      21 | 		const value = wrapper.emitted("input");
    > 22 | 		expect(value[0]).toBe(true);
         | 		            ^
      23 | 	});
      24 | });
      25 |
@mittalyashu mittalyashu added bug Something isn't working difficulty:easy labels Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working difficulty:easy tests
Projects
None yet
Development

No branches or pull requests

1 participant