🎨 Destructure requires

This commit is contained in:
Kevin Sawicki 2016-06-21 16:03:41 -07:00
parent 51b8c0292c
commit 38e1abc599

View file

@ -1,10 +1,7 @@
const assert = require('assert')
const remote = require('electron').remote
const ipcRenderer = require('electron').ipcRenderer
const Menu = remote.require('electron').Menu
const MenuItem = remote.require('electron').MenuItem
const {ipcRenderer, remote} = require('electron')
const {Menu, MenuItem} = remote
describe('menu module', function () {
describe('Menu.buildFromTemplate', function () {