Tweak spec description
This commit is contained in:
parent
0eefb282ca
commit
4d6b95aa52
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ const app = remote.require('electron').app
|
||||||
const BrowserWindow = remote.require('electron').BrowserWindow
|
const BrowserWindow = remote.require('electron').BrowserWindow
|
||||||
|
|
||||||
describe('electron module', function () {
|
describe('electron module', function () {
|
||||||
it('prevents exposing internal modules to require', function () {
|
it('does not expose internal modules to require', function () {
|
||||||
assert.throws(function () {
|
assert.throws(function () {
|
||||||
require('clipboard')
|
require('clipboard')
|
||||||
}, /Cannot find module 'clipboard'/)
|
}, /Cannot find module 'clipboard'/)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue