Skip to content

Commit

Permalink
refactor: Apply prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
halfzebra committed Feb 19, 2018
1 parent 821e463 commit 292af1a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ module.exports = {
[
require.resolve('babel-plugin-transform-runtime'),
{
"helpers": false,
"polyfill": false,
"regenerator": true
helpers: false,
polyfill: false,
regenerator: true
}
]
]
Expand Down
6 changes: 3 additions & 3 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ module.exports = {
[
require.resolve('babel-plugin-transform-runtime'),
{
"helpers": false,
"polyfill": false,
"regenerator": true
helpers: false,
polyfill: false,
regenerator: true
}
]
]
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/webpackHotDevClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ErrorOverlay.startReportingRuntimeErrors({
onError: function() {
hadRuntimeError = true;
},
filename: '/static/js/bundle.js',
filename: '/static/js/bundle.js'
});

if (module.hot && typeof module.hot.dispose === 'function') {
Expand Down
8 changes: 6 additions & 2 deletions tests/elm-app.eject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,16 @@ describe('Ejecting Elm application. (Please wait...)', () => {

it('Ejected application should have utility scripts', () => {
expect(
fs.existsSync(path.join(testAppDir, './scripts/utils/formatElmCompilerErrors.js')),
fs.existsSync(
path.join(testAppDir, './scripts/utils/formatElmCompilerErrors.js')
),
'to be',
true
);
expect(
fs.existsSync(path.join(testAppDir, './scripts/utils/webpackHotDevClient.js')),
fs.existsSync(
path.join(testAppDir, './scripts/utils/webpackHotDevClient.js')
),
'to be',
true
);
Expand Down

0 comments on commit 292af1a

Please sign in to comment.