Skip to content

Commit

Permalink
implement snapshot testing for styleguidist (#38)
Browse files Browse the repository at this point in the history
* initial implementation of snapshot testing w/ styleguidist

* handle sections without components, generate snapshot tests as part of 'npm test'

* move script to utils/, change output name to generate-snapshot.test.js, improve comments, add TODOs

* remove last vestiges of storybook

* remove useless code

* address remaining concerns
  • Loading branch information
kevinbarabash committed Apr 18, 2018
1 parent fdb76de commit f0a4c75
Show file tree
Hide file tree
Showing 24 changed files with 1,070 additions and 4,286 deletions.
3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ comment:
require_changes: no
require_base: no
require_head: yes

ignore:
- "gen-snapshot-tests.js"
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
docs/* linguist-generated
__snapshots__/* linguist-generated
**/__snapshots__/** linguist-generated
package-lock.json linguist-generated
**/generated-snapshot.test.js
1 change: 1 addition & 0 deletions docs/build/0.13c9e652.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/build/0.879f6912.js

This file was deleted.

53 changes: 0 additions & 53 deletions docs/build/bundle.86e1f449.js

This file was deleted.

53 changes: 53 additions & 0 deletions docs/build/bundle.a8568521.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f0a4c75

Please sign in to comment.