|
@@ -9,7 +9,7 @@ const app = remote.require('electron').app
|
|
|
const BrowserWindow = remote.require('electron').BrowserWindow
|
|
|
|
|
|
describe('electron module', function () {
|
|
|
- it('prevents exposing internal modules to require', function () {
|
|
|
+ it('does not expose internal modules to require', function () {
|
|
|
assert.throws(function () {
|
|
|
require('clipboard')
|
|
|
}, /Cannot find module 'clipboard'/)
|