Skip to content
Snippets Groups Projects
Commit 9a506b08 authored by picklesrus's avatar picklesrus
Browse files

random change to test ci

parent d79efb39
No related branches found
No related tags found
1 merge request!1Synching Fork
...@@ -12,12 +12,12 @@ describe('ButtonComponent', () => { ...@@ -12,12 +12,12 @@ describe('ButtonComponent', () => {
expect(component.toJSON()).toMatchSnapshot(); expect(component.toJSON()).toMatchSnapshot();
}); });
test('triggers callback when clicked', () => { // test('triggers callback when clicked', () => {
const onClick = jest.fn(); // const onClick = jest.fn();
const componentShallowWrapper = shallow( // const componentShallowWrapper = shallow(
<ButtonComponent onClick={onClick} /> // <ButtonComponent onClick={onClick} />
); // );
componentShallowWrapper.simulate('click'); // componentShallowWrapper.simulate('click');
expect(onClick).toHaveBeenCalled(); // expect(onClick).toHaveBeenCalled();
}); // });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment