mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
@@ -39,12 +39,12 @@ app.start().then(function () {
|
||||
}).then(function (title) {
|
||||
// Verify the window's title
|
||||
assert.equal(title, 'My App')
|
||||
}).then(function () {
|
||||
// Stop the application
|
||||
return app.stop()
|
||||
}).catch(function (error) {
|
||||
// Log any failures
|
||||
console.error('Test failed', error.message)
|
||||
}).then(function () {
|
||||
// Stop the application
|
||||
return app.stop()
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user