-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): restored existing tests
- Loading branch information
Raphaël Benitte
authored and
Raphaël Benitte
committed
Dec 5, 2017
1 parent
7467315
commit e4cf806
Showing
32 changed files
with
244 additions
and
29 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 @@ | ||
SOURCES = packages | ||
|
||
.PHONY: help init packages-build packages-publish clean-all website website-build website-deploy storybook storybook-build storybook-deploy deploy-all | ||
.PHONY: help bootstrap init packages-build packages-publish clean-all website website-build website-deploy storybook storybook-build storybook-deploy deploy-all | ||
|
||
######################################################################################################################## | ||
# | ||
|
@@ -35,17 +35,22 @@ help: ##prints help | |
|
||
.DEFAULT_GOAL := help | ||
|
||
######################################################################################################################## | ||
# | ||
# INIT | ||
# | ||
######################################################################################################################## | ||
|
||
bootstrap: ##@init lerna bootstrap | ||
@./node_modules/.bin/lerna bootstrap | ||
|
||
init: ##@init cleanup/install/bootstrap | ||
@make clean-all | ||
@yarn install | ||
@./node_modules/.bin/lerna bootstrap | ||
@make bootstrap | ||
@make packages-build | ||
@cd website && yarn install | ||
|
||
deploy-all: ##@deploy deploy website & storybook | ||
@make website-deploy | ||
@make storybook-deploy | ||
|
||
######################################################################################################################## | ||
# | ||
# CLEANUP | ||
|
@@ -77,6 +82,11 @@ endef | |
# | ||
######################################################################################################################## | ||
|
||
packages-test: ##@packages run tests for all packages | ||
# stream can be used for a mire verbose output | ||
#@./node_modules/.bin/lerna run --concurrency 1 --stream test | ||
@./node_modules/.bin/lerna run --concurrency 1 test | ||
|
||
packages-build: ##@packages build all packages | ||
@echo "${YELLOW}Building all packages${RESET}" | ||
@$(foreach source, $(SOURCES), $(call clean-source-lib, $(source))) | ||
|
@@ -124,3 +134,8 @@ storybook-deploy: ##@storybook build and deploy storybook | |
|
||
@echo "${YELLOW}Deploying storybook${RESET}" | ||
@./node_modules/.bin/gh-pages -d storybook-static -r [email protected]:plouc/nivo.git -b gh-pages -e storybook | ||
|
||
|
||
deploy-all: ##@deploy deploy website & storybook | ||
@make website-deploy | ||
@make storybook-deploy |
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 |
---|---|---|
|
@@ -16,6 +16,5 @@ | |
/storybook-static | ||
|
||
# test | ||
.travis.yml | ||
/coverage | ||
/test | ||
/tests |
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
2 changes: 1 addition & 1 deletion
2
test/components/charts/bar/Bar.test.js → packages/nivo-bar/tests/Bar.test.js
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
File renamed without changes.
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 |
---|---|---|
|
@@ -18,4 +18,4 @@ | |
# test | ||
.travis.yml | ||
/coverage | ||
/test | ||
/tests |
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 |
---|---|---|
|
@@ -18,4 +18,4 @@ | |
# test | ||
.travis.yml | ||
/coverage | ||
/test | ||
/tests |
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 |
---|---|---|
|
@@ -18,4 +18,4 @@ | |
# test | ||
.travis.yml | ||
/coverage | ||
/test | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# src (will be transpiled) | ||
/src | ||
|
||
# logs | ||
*.log* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# config/build | ||
.babelrc | ||
|
||
# storybook | ||
/.storybook | ||
/stories | ||
/storybook-static | ||
|
||
# test | ||
/coverage | ||
/tests |
Oops, something went wrong.