Merge branch 'master' into ns-modernize-build

This commit is contained in:
Antonio Scandurra
2016-08-26 16:20:46 +02:00
4 changed files with 17 additions and 7 deletions

View File

@@ -37,3 +37,9 @@ dependencies:
test:
override:
- caffeinate -s script/test # Run with caffeinate to prevent screen saver
experimental:
notify:
branches:
only:
- master

View File

@@ -1,5 +0,0 @@
"*":
welcome:
showOnStartup: false
"exception-reporting":
userId: "7c0a3c52-795c-5e20-5323-64efcf91f212"

View File

@@ -1,5 +1,6 @@
fs = require 'fs-plus'
path = require 'path'
season = require 'season'
temp = require('temp').track()
runAtom = require './helpers/start-atom'
@@ -8,7 +9,12 @@ describe "Smoke Test", ->
beforeEach ->
jasmine.useRealClock()
fs.writeFileSync(path.join(atomHome, 'config.cson'), fs.readFileSync(path.join(__dirname, 'fixtures', 'atom-home', 'config.cson')))
season.writeFileSync(path.join(atomHome, 'config.cson'), {
'*': {
welcome: {showOnStartup: false},
core: {telemetryConsent: 'no'}
}
})
it "can open a file in Atom and perform basic operations on it", ->
tempDirPath = temp.mkdirSync("empty-dir")

View File

@@ -22,7 +22,10 @@ describe('AtomApplication', function () {
// Symlinking the compile cache into the temporary home dir makes the windows load much faster
fs.symlinkSync(path.join(originalAtomHome, 'compile-cache'), path.join(process.env.ATOM_HOME, 'compile-cache'))
season.writeFileSync(path.join(process.env.ATOM_HOME, 'config.cson'), {
'*': {welcome: {showOnStartup: false}}
'*': {
welcome: {showOnStartup: false},
core: {telemetryConsent: 'no'}
}
})
atomApplicationsToDestroy = []
})