by default', () => {
- shallow(
)
+ shallow(
)
.should.have.tagName('div')
})
})
diff --git a/test/specs/views/Feed/Feed-test.js b/test/specs/views/Feed/Feed-test.js
index b50b58360a..ccbcafc8f7 100644
--- a/test/specs/views/Feed/Feed-test.js
+++ b/test/specs/views/Feed/Feed-test.js
@@ -12,14 +12,12 @@ describe('Feed', () => {
common.rendersChildren(Feed)
common.propValueOnlyToClassName(Feed, 'size',
- _.without(SUI.SIZES, 'mini', 'tiny', 'medium', 'big', 'huge', 'massive')
+ _.without(SUI.SIZES, 'mini', 'tiny', 'medium', 'big', 'huge', 'massive'),
)
describe('events prop', () => {
it('renders
', () => {
- const events = _.times(3, () => {
- return { summary: faker.hacker.phrase() }
- })
+ const events = _.times(3, () => ({ summary: faker.hacker.phrase() }))
shallow()
.should.have.exactly(3).descendants('FeedEvent')
diff --git a/test/specs/views/Feed/FeedEvent-test.js b/test/specs/views/Feed/FeedEvent-test.js
index ca00347ca7..d239b801d7 100644
--- a/test/specs/views/Feed/FeedEvent-test.js
+++ b/test/specs/views/Feed/FeedEvent-test.js
@@ -30,7 +30,7 @@ describe('FeedEvent', () => {
it('renders with other content props', () => {
const contentProps = ['content', 'date', 'extraText', 'meta', 'summary']
- contentProps.forEach(propKey => {
+ contentProps.forEach((propKey) => {
const props = { [propKey]: faker.hacker.phrase() }
shallow().should.have.descendants('FeedContent')
})
diff --git a/test/tests.bundle.js b/test/tests.bundle.js
index afab32f140..3a31e72482 100644
--- a/test/tests.bundle.js
+++ b/test/tests.bundle.js
@@ -9,7 +9,7 @@ const testsContext = require.context('./', true, /-test\.js$/)
// only re-run changed tests, or all if none changed
// https://www.npmjs.com/package/karma-webpack-with-fast-source-maps
const __karmaWebpackManifest__ = []
-let runnable = testsContext.keys().filter((path) => __karmaWebpackManifest__.indexOf(path) >= 0)
+let runnable = testsContext.keys().filter(path => __karmaWebpackManifest__.indexOf(path) >= 0)
if (!runnable.length) runnable = testsContext.keys()