Make sure that Atom does not get autoupdated when running main process tests

This commit is contained in:
Rafael Oleza
2019-04-07 16:14:01 +02:00
parent 5a4cfeb12c
commit 3f11d71dc0

View File

@@ -992,6 +992,10 @@ describe('AtomApplication', function () {
params
)
)
// Make sure that the app does not get updated automatically.
atomApplication.config.set('core.automaticallyUpdate', false)
atomApplicationsToDestroy.push(atomApplication)
return atomApplication
}