Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
test('has different styles when on: true', () => {
expect(
snapshotDiff(serialize(), serialize())
).toMatchSnapshot()
})
test('props updated', () => {
const $ = render(\sum_0^\infty);
const $first = $.container.cloneNode(true);
let $second;
$.rerender(\sum_1^\infty);
$second = $.container.cloneNode(true);
expect(snapshotDiff($first, $second)).toMatchSnapshot();
});