refactor: implement crashReporter.start() without the remote module (#14434)

This commit is contained in:
Milan Burda 2018-09-26 07:43:34 +02:00 committed by Samuel Attard
parent 560b1c17af
commit 3df739fa89
3 changed files with 71 additions and 50 deletions

View file

@ -204,13 +204,6 @@ describe('crashReporter module', () => {
})
})
describe('getTempDirectory', () => {
it('returns temp directory for app if one is specified', () => {
const tempDir = crashReporter.getTempDirectory()
assert.strictEqual(tempDir, app.getPath('temp'))
})
})
describe('start(options)', () => {
it('requires that the companyName and submitURL options be specified', () => {
assert.throws(() => {