mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Pass additional options to the test runner window
This commit is contained in:
@@ -511,11 +511,12 @@ class AtomApplication extends EventEmitter {
|
||||
if (this.applicationMenu) this.applicationMenu.update(window, template, menu)
|
||||
}))
|
||||
|
||||
this.disposable.add(ipcHelpers.on(ipcMain, 'run-package-specs', (event, packageSpecPath) => {
|
||||
this.disposable.add(ipcHelpers.on(ipcMain, 'run-package-specs', (event, packageSpecPath, options = {}) => {
|
||||
this.runTests({
|
||||
resourcePath: this.devResourcePath,
|
||||
pathsToOpen: [packageSpecPath],
|
||||
headless: false
|
||||
headless: false,
|
||||
...options
|
||||
})
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user