mirror of
https://github.com/BoostIo/Boostnote
synced 2026-01-29 08:37:18 +00:00
fix type
stoargeKey -> storageKey
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user