mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Use Object.assign() instead of spread so we don't confuse Joanna
This commit is contained in:
@@ -512,12 +512,11 @@ class AtomApplication extends EventEmitter {
|
||||
}))
|
||||
|
||||
this.disposable.add(ipcHelpers.on(ipcMain, 'run-package-specs', (event, packageSpecPath, options = {}) => {
|
||||
this.runTests({
|
||||
this.runTests(Object.assign({
|
||||
resourcePath: this.devResourcePath,
|
||||
pathsToOpen: [packageSpecPath],
|
||||
headless: false,
|
||||
...options
|
||||
})
|
||||
headless: false
|
||||
}, options))
|
||||
}))
|
||||
|
||||
this.disposable.add(ipcHelpers.on(ipcMain, 'run-benchmarks', (event, benchmarksPath) => {
|
||||
|
||||
Reference in New Issue
Block a user