Skip to content

Commit

Permalink
chore(package): update sinon to version 2.0.0 (#1464)
Browse files Browse the repository at this point in the history
* chore(package): update sinon to version 2.0.0

https://greenkeeper.io/

* chore(karma): remove sinon bundler hack

* Update package.json

* Update package.json
  • Loading branch information
greenkeeperio-bot authored and levithomason committed Mar 24, 2017
1 parent 7562368 commit a325294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,10 @@ module.exports = (karmaConfig) => {
},
webpack: {
devtool: config.compiler_devtool,
module: Object.assign({}, webpackConfig.module, {
loaders: [
{
test: /sinon\.js$/,
loader: 'imports?define=>false,require=>false',
},
...webpackConfig.module.loaders,
],
}),
module: webpackConfig.module,
plugins: webpackConfig.plugins,
resolve: Object.assign({}, webpackConfig.resolve, {
alias: Object.assign({}, webpackConfig.resolve.alias, {
sinon: 'sinon/pkg/sinon',
// These are internal deps specific to React 0.13 required() by enzyme
// They shouldn't be requiring these at all, issues and fix proposed
// https://github.com/airbnb/enzyme/issues/285
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@
"sass-loader": "^4.0.2",
"semantic-ui-css": "^2.2.2",
"simulant": "^0.2.2",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"sinon": "^2.1.0",
"sinon-chai": "^2.9.0",
"style-loader": "^0.14.0",
"ta-scripts": "^2.5.2",
"through2": "^2.0.2",
Expand Down

0 comments on commit a325294

Please sign in to comment.