electron/spec/fixtures
Charles Kerr c83f836faf
refactor: prefer using app.whenReady() (#21972)
* docs: add references to app.whenReady() in isReady

* refactor: prefer app.whenReady()

In the docs, specs, and lib, replace instances of `app.once('ready')`
(seen occasionally) and `app.on('ready')` (extremely common) with
`app.whenReady()`.

It's better to encourage users to use whenReady():
1. it handles the edge case of registering for 'ready' after it's fired
2. it avoids the minor wart of leaving an active listener alive for
an event that wll never fire again
2020-02-03 22:43:22 +00:00
..
api refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
assets refactor: make templateImage a property on nativeImage (#18124) 2019-05-07 06:52:07 -07:00
certificates
module test: move remote specs to main process (#21387) 2019-12-09 10:27:30 -08:00
pages test: move some fixtures from spec/ to spec-main/ (#21403) 2020-01-09 11:50:56 -08:00
snapshot-items-available refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
test.asar fix: allow paths to asar archives to contain the .asar extension in directories (#20342) 2019-10-02 13:33:07 +09:00
workers refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
zip
no-proprietary-codecs.js refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
testsnap.js ci: add testing for mksnapshot (#15627) 2018-11-09 10:54:17 -04:00