test(webframe): add basic test case
This commit is contained in:
parent
004c9427eb
commit
690a9e9483
1 changed files with 6 additions and 0 deletions
|
@ -139,4 +139,10 @@ describe('webFrame module', function () {
|
|||
webFrame.setLayoutZoomLevelLimits(0, 25)
|
||||
})
|
||||
})
|
||||
|
||||
it('supports setting cache capacity', function () {
|
||||
assert.doesNotThrow(function () {
|
||||
webFrame.setCacheCapacity(1024)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue