chore: 🤖 fix lint issues

This commit is contained in:
Christian Kaisermann 2019-11-28 23:40:57 -03:00
parent aec74abab9
commit cee3d82b4a
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import {
$dictionary,
addMessages,
} from '../stores/dictionary'
import { getCurrentLocale, getRelatedLocalesOf } from '../stores/locale'
import { getRelatedLocalesOf } from '../stores/locale'
import { $isLoading } from '../stores/loading'
import { getOptions } from '../configs'

View File

@ -64,7 +64,7 @@ test('should set loading to true if passed min delay and false after loading', (
)
)
const flush = flush('en')
const flushPromise = flush('en')
return new Promise((res, rej) => {
setTimeout(() => {
@ -72,7 +72,7 @@ test('should set loading to true if passed min delay and false after loading', (
return rej('$isLoading should be "true"')
}, getOptions().loadingDelay)
}).then(() => {
flush.then(
flushPromise.then(
() =>
new Promise((res, rej) => {
if (get($isLoading) === false) return res()