diff options
author | Florian Dold <florian@dold.me> | 2021-10-14 15:35:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-10-14 15:35:34 +0200 |
commit | 40b137b549d9e62ff05eb1c7973901bcd6ab54b3 (patch) | |
tree | 8d4848261908165d979b6cf336702ee0f3fb6c49 /packages/anastasis-webui/tests | |
parent | c53264869451ccbfbaf1976e01df8c7636163068 (diff) |
anastasis-webui: implement more challenge types
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); - }); -}); |