Fix failing spec when refreshing test window

This commit is contained in:
Cheng Zhao 2016-09-08 14:42:59 +09:00
parent 5708e86a05
commit 30dd65e3a9

View file

@ -152,6 +152,7 @@ describe('ipc module', function () {
assert.equal(property.getFunctionProperty(), 'foo-browser')
property.func.property = 'bar'
assert.equal(property.getFunctionProperty(), 'bar-browser')
property.func.property = 'foo' // revert back
var property2 = remote.require(path.join(fixtures, 'module', 'property.js'))
assert.equal(property2.property, 1007)