-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Jest and test suite to use snapshots. Update webpack and remove loaders and add rules, update to 2.2.1. Add in new style-loader, css-loader and sass-loader rules. Update ad modify ExtractTextPlugin in webpack. Remove '' in extensions because webpack does not require it anymore. Remove Dedupe plugin as webpack has deprecated this. Add NoEmitOnErrorsPlugin and remove NoErrorsPlugin as webpack deprecated this. Update all outdated devDependecnies to latest builds and fix any regression issues with the build and creating docs. Update and simplify babelrc. Remove all plugins from babelrc and package.json and add stage-0 preset to cover the functionality of the removed plugins.
- Loading branch information
jfusco
committed
Mar 4, 2017
1 parent
8a2bc6c
commit d3549e4
Showing
22 changed files
with
22,383 additions
and
21,756 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
{ | ||
"presets": [ | ||
"react", | ||
"es2015" | ||
], | ||
"plugins": [ | ||
"transform-function-bind", | ||
"transform-class-properties", | ||
"transform-object-rest-spread" | ||
"es2015", | ||
"stage-0" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Tag - "readOnly" when false should render the removeTagIcon 1`] = ` | ||
<li> | ||
foo | ||
<a | ||
onClick={[Function]} | ||
> | ||
× | ||
</a> | ||
</li> | ||
`; | ||
|
||
exports[`Tag - "readOnly" when true should not render the removeTagIcon 1`] = ` | ||
<li> | ||
foo | ||
</li> | ||
`; | ||
|
||
exports[`Tag - "removeTagIcon" when a custom element is passed in should render the element 1`] = ` | ||
<li> | ||
foo | ||
<a | ||
onClick={[Function]} | ||
> | ||
<i | ||
className="icon-remove" | ||
/> | ||
</a> | ||
</li> | ||
`; | ||
|
||
exports[`Tag - "removeTagIcon" when a custom string is passed in should render the string 1`] = ` | ||
<li> | ||
foo | ||
<a | ||
onClick={[Function]} | ||
> | ||
remove | ||
</a> | ||
</li> | ||
`; | ||
|
||
exports[`Tag should render 1`] = ` | ||
<li> | ||
foo | ||
<a | ||
onClick={[Function]} | ||
> | ||
× | ||
</a> | ||
</li> | ||
`; |
Oops, something went wrong.