Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Commit b2d8a44

Browse files
committed
test: added unit tests for molecules, organisms and templates
1 parent 97fe48c commit b2d8a44

File tree

4 files changed

+118
-0
lines changed

4 files changed

+118
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
import {
2+
Accordion, Account, AccountModal, FAQSection, FilterCheckboxCard,
3+
FooterColumn, LabeledCheckbox, ModalDialogue, RangeSliderWithInputs,
4+
SwitchTabs, UnitsInput,
5+
} from '.'
6+
7+
describe('Accordion component sanity', () => {
8+
it('is truthy', () => {
9+
expect(Accordion).toBeTruthy()
10+
})
11+
})
12+
13+
describe('Account component sanity', () => {
14+
it('is truthy', () => {
15+
expect(Account).toBeTruthy()
16+
})
17+
})
18+
19+
describe('AccountModal component sanity', () => {
20+
it('is truthy', () => {
21+
expect(AccountModal).toBeTruthy()
22+
})
23+
})
24+
25+
describe('FAQSection component sanity', () => {
26+
it('is truthy', () => {
27+
expect(FAQSection).toBeTruthy()
28+
})
29+
})
30+
31+
describe('FilterCheckboxCard component sanity', () => {
32+
it('is truthy', () => {
33+
expect(FilterCheckboxCard).toBeTruthy()
34+
})
35+
})
36+
37+
describe('FooterColumn component sanity', () => {
38+
it('is truthy', () => {
39+
expect(FooterColumn).toBeTruthy()
40+
})
41+
})
42+
43+
describe('LabeledCheckbox component sanity', () => {
44+
it('is truthy', () => {
45+
expect(LabeledCheckbox).toBeTruthy()
46+
})
47+
})
48+
49+
describe('ModalDialogue component sanity', () => {
50+
it('is truthy', () => {
51+
expect(ModalDialogue).toBeTruthy()
52+
})
53+
})
54+
55+
describe('RangeSliderWithInputs component sanity', () => {
56+
it('is truthy', () => {
57+
expect(RangeSliderWithInputs).toBeTruthy()
58+
})
59+
})
60+
61+
describe('SwitchTabs component sanity', () => {
62+
it('is truthy', () => {
63+
expect(SwitchTabs).toBeTruthy()
64+
})
65+
})
66+
67+
describe('UnitsInput component sanity', () => {
68+
it('is truthy', () => {
69+
expect(UnitsInput).toBeTruthy()
70+
})
71+
})
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { Header, HeaderTongue } from '.'
2+
import HeaderDesktop from './HeaderDesktop'
3+
import HeaderMobile from './HeaderMobile'
4+
5+
describe('Header component sanity', () => {
6+
it('is truthy', () => {
7+
expect(Header).toBeTruthy()
8+
})
9+
})
10+
11+
describe('HeaderTongue component sanity', () => {
12+
it('is truthy', () => {
13+
expect(HeaderTongue).toBeTruthy()
14+
})
15+
})
16+
17+
describe('HeaderDesktop component sanity', () => {
18+
it('is truthy', () => {
19+
expect(HeaderDesktop).toBeTruthy()
20+
})
21+
})
22+
23+
describe('HeaderMobile component sanity', () => {
24+
it('is truthy', () => {
25+
expect(HeaderMobile).toBeTruthy()
26+
})
27+
})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Footer } from '.'
2+
3+
describe('Footer component sanity', () => {
4+
it('is truthy', () => {
5+
expect(Footer).toBeTruthy()
6+
})
7+
})
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { FAQPageTemplate, PageTemplate } from '.'
2+
3+
describe('FAQPageTemplate component sanity', () => {
4+
it('is truthy', () => {
5+
expect(FAQPageTemplate).toBeTruthy()
6+
})
7+
})
8+
9+
describe('PageTemplate component sanity', () => {
10+
it('is truthy', () => {
11+
expect(PageTemplate).toBeTruthy()
12+
})
13+
})

0 commit comments

Comments
 (0)