Skip to content

Commit

Permalink
address final comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds authored and ljharb committed Apr 12, 2017
1 parent cc78489 commit 22f368f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions karma.conf.js
Expand Up @@ -32,7 +32,7 @@ function getPlugins() {
plugins.push(new IgnorePlugin(/create-react-class/));
}

return plugins
return plugins;
}

module.exports = function karma(config) {
Expand All @@ -59,7 +59,11 @@ module.exports = function karma(config) {
reporters: ['dots'],

files: [
'test/*-spec.{jsx,js}',
'test/*.{jsx,js}',
],

exclude: [
'test/_*.{jsx,js}',
],

browsers: [
Expand Down
2 changes: 1 addition & 1 deletion src/version.js
Expand Up @@ -7,4 +7,4 @@ const [major, minor] = VERSION.split('.');
export const REACT013 = VERSION.slice(0, 4) === '0.13';
export const REACT014 = VERSION.slice(0, 4) === '0.14';
export const REACT15 = major === '15';
export const REACT155 = REACT15 && +minor >= 5;
export const REACT155 = REACT15 && minor >= 5;

0 comments on commit 22f368f

Please sign in to comment.