mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove trivial test
This doesn't work on CI for reasons related to
fa0bd1e049
It doesn't test anything interesting, so I'm just going to leave it out.
This commit is contained in:
@@ -91,15 +91,6 @@ describe('ConfigFile', () => {
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('updating the config', () => {
|
||||
it('persists the data to the file', async () => {
|
||||
configFile = new ConfigFile(filePath)
|
||||
subscription = await configFile.watch()
|
||||
await configFile.update({foo: 'bar'})
|
||||
expect(fs.readFileSync(filePath, 'utf8')).toBe('foo: "bar"\n')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
function writeFileSync (filePath, content, seconds = 2) {
|
||||
|
||||
Reference in New Issue
Block a user