diff --git a/app/static/app/js/components/tests/LayersControlPanel.test.jsx b/app/static/app/js/components/tests/LayersControlPanel.test.jsx new file mode 100644 index 00000000..9c731411 --- /dev/null +++ b/app/static/app/js/components/tests/LayersControlPanel.test.jsx @@ -0,0 +1,10 @@ +import React from 'react'; +import { mount } from 'enzyme'; +import LayersControlPanel from '../LayersControlPanel'; + +describe('', () => { + it('renders without exploding', () => { + const wrapper = mount( {}} layers={[]} map={{}} />); + expect(wrapper.exists()).toBe(true); + }) +}); \ No newline at end of file diff --git a/app/static/app/js/components/tests/Toggle.test.jsx b/app/static/app/js/components/tests/Toggle.test.jsx new file mode 100644 index 00000000..e9825c97 --- /dev/null +++ b/app/static/app/js/components/tests/Toggle.test.jsx @@ -0,0 +1,31 @@ +import React from 'react'; +import { mount } from 'enzyme'; +import { Checkbox, ExpandButton } from '../Toggle'; + +describe('', () => { + it('renders without exploding', () => { + const self = { + state:{ + visible: true + }, + setState: () => {} + }; + + const wrapper = mount(); + expect(wrapper.exists()).toBe(true); + }) +}); + +describe('', () => { + it('renders without exploding', () => { + const self = { + state:{ + visible: true + }, + setState: () => {} + }; + + const wrapper = mount(); + expect(wrapper.exists()).toBe(true); + }) +}); \ No newline at end of file diff --git a/package.json b/package.json index 8ce29194..d1e89e52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "WebODM", - "version": "1.1.3", + "version": "1.2.0", "description": "Open Source Drone Image Processing", "main": "index.js", "scripts": { @@ -14,7 +14,7 @@ "keywords": [ "opendronemap" ], - "author": "", + "author": "Piero Toffanin", "license": "MPL-2.0", "bugs": { "url": "https://github.com/OpenDroneMap/WebODM/issues"