mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
refactor: implement crashReporter.start() without the remote module (#14434)
This commit is contained in:
committed by
Samuel Attard
parent
560b1c17af
commit
3df739fa89
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user