Skip to content

Instantly share code, notes, and snippets.

@MonsieurMan
Created August 10, 2018 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MonsieurMan/8d37c2b83549abdf0fcf2956ea61609c to your computer and use it in GitHub Desktop.
Save MonsieurMan/8d37c2b83549abdf0fcf2956ea61609c to your computer and use it in GitHub Desktop.
it('updates the result if we change the props', () => {
element.a = 1;
element.b = 1;
expect(element.textContent).toEqual('1');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment