tabris-js
tabris-js copied to clipboard
Provide LocalStorage/SecureStorage fakes
Problem description
The LocalStorage API may be used in an implementation under tests. In this case it would be convenient to be able to replace LocalStorage by a fake for the tests that works just like the real LocalStorage, but without a client. A fake like this can be especially advantageous for BDD-style testing.
Environment
- Tabris.js version: 3.x