Fix failing spec when refreshing test window
authorCheng Zhao <zcbenz@gmail.com>
Thu, 8 Sep 2016 05:42:59 +0000 (14:42 +0900)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 14 Sep 2016 07:23:00 +0000 (16:23 +0900)
spec/api-ipc-spec.js

index ac5d06a..b136001 100644 (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)