1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-01-29 08:37:18 +00:00
stoargeKey -> storageKey
This commit is contained in:
Dick Choi
2016-08-27 23:46:08 +09:00
parent 0127d5143a
commit 25f50b8cdf
8 changed files with 20 additions and 19 deletions

View File

@@ -20,10 +20,10 @@ test.beforeEach((t) => {
})
test('Remove a storage', (t) => {
const stoargeKey = t.context.storage.cache.key
const storageKey = t.context.storage.cache.key
return Promise.resolve()
.then(function doTest () {
return removeStorage(stoargeKey)
return removeStorage(storageKey)
})
.then(function assert (data) {
t.is(JSON.parse(localStorage.getItem('storages')).length, 0)