mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
test(webframe): add basic test case
This commit is contained in:
@@ -139,4 +139,10 @@ describe('webFrame module', function () {
|
||||
webFrame.setLayoutZoomLevelLimits(0, 25)
|
||||
})
|
||||
})
|
||||
|
||||
it('supports setting cache capacity', function () {
|
||||
assert.doesNotThrow(function () {
|
||||
webFrame.setCacheCapacity(1024)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user