refactor: implement crashReporter.start() without the remote module (#14434)
This commit is contained in:
parent
560b1c17af
commit
3df739fa89
3 changed files with 71 additions and 50 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue