diff options
Diffstat (limited to 'packages/anastasis-webui/tests')
-rw-r--r-- | packages/anastasis-webui/tests/header.test.tsx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/packages/anastasis-webui/tests/header.test.tsx b/packages/anastasis-webui/tests/header.test.tsx deleted file mode 100644 index b2cfc2f4d..000000000 --- a/packages/anastasis-webui/tests/header.test.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { h } from 'preact'; -import Header from '../src/components/header'; -// See: https://github.com/preactjs/enzyme-adapter-preact-pure -import { shallow } from 'enzyme'; - -describe('Initial Test of the Header', () => { - test('Header renders 3 nav items', () => { - const context = shallow(<Header />); - expect(context.find('h1').text()).toBe('Preact App'); - expect(context.find('Link').length).toBe(3); - }); -}); |