Skip to content

Commit

Permalink
ci: clean electron app exit
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Jul 29, 2019
1 parent 1b6153b commit 8d625a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/electron/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const exit = () => process.exit(process.exitCode)
const { app } = require('electron')
const exit = () => app.exit(process.exitCode)
require('ava/lib/cli').run().then(exit, exit)

0 comments on commit 8d625a1

Please sign in to comment.