test(webframe): add basic test case

This commit is contained in:
OJ Kwon 2018-01-25 16:02:50 -08:00
parent 004c9427eb
commit 690a9e9483
No known key found for this signature in database
GPG key ID: 6C23A45602A44DA6

View file

@ -139,4 +139,10 @@ describe('webFrame module', function () {
webFrame.setLayoutZoomLevelLimits(0, 25)
})
})
it('supports setting cache capacity', function () {
assert.doesNotThrow(function () {
webFrame.setCacheCapacity(1024)
})
})
})