-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from CaptainFact/staging
Release 0.8.12
- Loading branch information
Showing
59 changed files
with
6,977 additions
and
6,854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# CaptainFact frontend container | ||
# You must attach a volume containing cert.pem + privkey.pem at /etc/nginx/cert/ | ||
FROM betree/centos-nginx-nodejs-brunch-sass:latest | ||
FROM betree/centos-nginx-nodejs-sass:latest | ||
MAINTAINER Benjamin Piouffle <[email protected]> | ||
|
||
WORKDIR /opt/app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import Icon from '../Icon' | ||
|
||
test('render icon', () => { | ||
snapshot(<Icon name="plus"/>) | ||
snapshotComponent(<Icon name="plus"/>) | ||
}) | ||
|
||
test('set size', () => { | ||
snapshot(<Icon name="plus" size="large"/>) | ||
snapshotComponent(<Icon name="plus" size="large"/>) | ||
}) | ||
|
||
test('other props get passed to container', () => { | ||
snapshot(<Icon name="plus" title="Add some stuff"/>) | ||
snapshotComponent(<Icon name="plus" title="Add some stuff"/>) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import Message from '../Message' | ||
|
||
test('render message', () => { | ||
snapshot(<Message>Hello</Message>) | ||
snapshotComponent(<Message>Hello</Message>) | ||
}) | ||
|
||
test('can set type', () => { | ||
snapshot(<Message type="warning">Alert !</Message>) | ||
snapshotComponent(<Message type="warning">Alert !</Message>) | ||
}) | ||
|
||
test('can set header', () => { | ||
snapshot(<Message header="Awesome title">Hellooow</Message>) | ||
snapshotComponent(<Message header="Awesome title">Hellooow</Message>) | ||
}) | ||
|
||
test('without body', () => { | ||
snapshot(<Message/>) | ||
snapshotComponent(<Message/>) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import Notification from '../Notification' | ||
|
||
test('render message', () => { | ||
snapshot(<Notification>Hello</Notification>) | ||
snapshotComponent(<Notification>Hello</Notification>) | ||
}) | ||
|
||
test('can set type', () => { | ||
snapshot(<Notification type="warning">Alert !</Notification>) | ||
snapshotComponent(<Notification type="warning">Alert !</Notification>) | ||
}) | ||
|
||
test('pass props', () => { | ||
snapshot(<Notification title="my title">Hellooow</Notification>) | ||
snapshotComponent(<Notification title="my title">Hellooow</Notification>) | ||
}) | ||
|
||
test('without body', () => { | ||
snapshot(<Notification/>) | ||
snapshotComponent(<Notification/>) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import RawIcon from '../RawIcon' | ||
|
||
test('render icon', () => { | ||
snapshot(<RawIcon name="plus"/>) | ||
snapshotComponent(<RawIcon name="plus"/>) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import Tag from '../Tag' | ||
|
||
test('render tag', () => { | ||
snapshot(<Tag>Test</Tag>) | ||
snapshotComponent(<Tag>Test</Tag>) | ||
}) | ||
|
||
test('set size', () => { | ||
snapshot(<Tag type="info">Test</Tag>) | ||
snapshotComponent(<Tag type="info">Test</Tag>) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.