aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/ui-react/src/components/menu/MenuBar.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ui-react/src/components/menu/MenuBar.test.js')
-rw-r--r--runtime/ui-react/src/components/menu/MenuBar.test.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/runtime/ui-react/src/components/menu/MenuBar.test.js b/runtime/ui-react/src/components/menu/MenuBar.test.js
index 3e96dbf38..81117bb90 100644
--- a/runtime/ui-react/src/components/menu/MenuBar.test.js
+++ b/runtime/ui-react/src/components/menu/MenuBar.test.js
@@ -26,21 +26,21 @@ import MenuBar from './MenuBar';
describe('Verify MenuBar', () => {
- it('Test the render method', () => {
- const component = shallow(<MenuBar />)
+ it('Test the render method', () => {
+ const component = shallow(<MenuBar/>)
- expect(component).toMatchSnapshot();
- });
+ expect(component).toMatchSnapshot();
+ });
- it('Update loopName', () => {
- const component = shallow(<MenuBar />)
- component.setProps({ loopName: "newLoop" });
- expect(component.state('disabled')).toBe(false);
- });
+ it('Update loopName', () => {
+ const component = shallow(<MenuBar/>)
+ component.setProps({ loopName: "newLoop" });
+ expect(component.state('disabled')).toBe(false);
+ });
- it('Default loopName', () => {
- const component = shallow(<MenuBar />)
- component.setProps({ loopName: "Empty (NO loop loaded yet)" });
- expect(component.state('disabled')).toBe(true);
- });
+ it('Default loopName', () => {
+ const component = shallow(<MenuBar/>)
+ component.setProps({ loopName: "Empty (NO loop loaded yet)" });
+ expect(component.state('disabled')).toBe(true);
+ });
});