Browse Source

Remove parenthesis around single arg arrow function

pull/2/head
Luke Childs 9 years ago
parent
commit
f99fffb1a2
  1. 2
      src/index.js

2
src/index.js

@ -1,6 +1,6 @@
import { jsdom } from 'jsdom';
module.exports = (arg) => {
module.exports = arg => {
const properties = arg instanceof Array ? arg : arg && arg.properties;
const overwrite = arg && arg.overwrite;
const window = jsdom('<html><body></body></html>').defaultView;

Loading…
Cancel
Save