summaryrefslogtreecommitdiff
path: root/ui/test
diff options
context:
space:
mode:
authorSimon Fondrie-Teitler <simonft@riseup.net>2017-05-19 19:05:37 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2017-05-22 13:46:46 +0200
commit96462b1798f4269c4162df1e20e2f4da6dacc8e8 (patch)
tree5b31d3648c51c8ac4096146024b746a047023edf /ui/test
parentd2f37b7fcfda0e03ff1bd62fc91040258e224727 (diff)
add prop-types to requirements
Diffstat (limited to 'ui/test')
-rw-r--r--ui/test/components/center.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/ui/test/components/center.js b/ui/test/components/center.js
index e9242e7d..78534818 100644
--- a/ui/test/components/center.js
+++ b/ui/test/components/center.js
@@ -12,7 +12,9 @@ describe('Center Component', () => {
it('has reasonable defaults', () => {
const center = shallow(
<Center>
- test
+ <span>
+ test
+ </span>
</Center>
)
@@ -24,7 +26,9 @@ describe('Center Component', () => {
it('has a width parameter on the inner div', () => {
const center = shallow(
<Center width="10">
- test
+ <span>
+ test
+ </span>
</Center>
)
@@ -34,7 +38,9 @@ describe('Center Component', () => {
it('sets direction parameter in the class name', () => {
const center = shallow(
<Center direction="vertically">
- test
+ <span>
+ test
+ </span>
</Center>
)