aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/tests
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-10-14 15:35:34 +0200
committerFlorian Dold <florian@dold.me>2021-10-14 15:35:34 +0200
commit40b137b549d9e62ff05eb1c7973901bcd6ab54b3 (patch)
tree8d4848261908165d979b6cf336702ee0f3fb6c49 /packages/anastasis-webui/tests
parentc53264869451ccbfbaf1976e01df8c7636163068 (diff)
anastasis-webui: implement more challenge types
Diffstat (limited to 'packages/anastasis-webui/tests')
-rw-r--r--packages/anastasis-webui/tests/header.test.tsx12
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);
- });
-});