electron/spec/fixtures/crash-app/main.js
Cheng Zhao ef690c035d fix: correctly crash when there is no crashReporter (#20388)
* fix: correctly crash when there is no crashReporter

* test: correctly crash when there is crashReporter
2019-10-01 13:20:21 -04:00

5 lines
82 B
JavaScript

const { app } = require('electron')
app.on('ready', () => {
process.crash()
})