diff --git a/__tests__/components/Background.test.jsx b/__tests__/components/Background.test.jsx new file mode 100644 index 0000000000..fdee92b49d --- /dev/null +++ b/__tests__/components/Background.test.jsx @@ -0,0 +1,14 @@ +import React from 'react'; +import { mount } from 'enzyme'; + +import { I18nProvider } from '@lingui/react'; +import Background from '../../src/components/Background'; + +describe('Background', () => { + test('renders the expected content', () => { + const wrapper = mount(
); + expect(wrapper).toHaveLength(1); + expect(wrapper.find('BackgroundImage')).toHaveLength(1); + expect(wrapper.find('#test')).toHaveLength(1); + }); +});