feat(cache): Add a JS interface to CacheRegister

.toEqual(0);