Assertions naming not supported
christophediprima opened this issue · comments
The plugin does not allow assertion name usage.
test('SchedulerSelector monthly selection process selection should work properly', () => {
const component = renderer.create(
<SchedulerSelector />,
);
let tree = component.toJSON();
expect(tree).toMatchSnapshot('Original print');
tree.children[0].props.onClick();
tree = component.toJSON();
expect(tree).toMatchSnapshot('After selector clicked');
});
That will print following snapshots:
exports[`SchedulerSelector monthly selection process selection should work properly: After selector clicked 1`] = `...`;
exports[`SchedulerSelector monthly selection process selection should work properly: Original print 1`] = `...`;