refactor: automatically sort imports
[benchmarks-js.git] / shallow-clone-object.mjs
index 05a97ec3f0103c9f4a645663d92d3dfa16fc63ef..466135e4469deebdbd92f97f524328445b156d01 100644 (file)
@@ -1,7 +1,8 @@
 /* eslint-disable no-unused-vars */
 import Benchmark from 'benny'
 import _ from 'lodash'
-import { generateRandomObject } from './benchmark-utils.js'
+
+import { generateRandomObject } from './benchmark-utils.mjs'
 
 const object = generateRandomObject()
 
@@ -33,6 +34,4 @@ Benchmark.suite(
     format: 'table.html',
     details: true
   })
-).catch(err => {
-  console.error(err)
-})
+).catch(console.error)