Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ test-cache-cid-api.js
File
test-cache-cid-api.js
test/unit/test-cache-cid-api.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
* as fakeTimers from
'@sinonjs/fake-timers'
;
2
3
import
{CacheCidApi} from
'#service/cache-cid-api'
;
4
import
{installTimerService} from
'#service/timer-impl'
;
Callers
nothing calls this directly
Calls
15
stubService
Function · 0.90
mockServiceForDoc
Function · 0.90
installTimerService
Function · 0.90
beforeEach
Function · 0.85
afterEach
Function · 0.85
expect
Function · 0.85
uninstall
Method · 0.80
resolve
Method · 0.80
catch
Method · 0.80
tick
Method · 0.80
it
Function · 0.50
install
Method · 0.45
Tested by
no test coverage detected