fix lint issues
This commit is contained in:
Родитель
7c1258cf45
Коммит
69e7ed5d31
|
@ -7,7 +7,9 @@
|
|||
"plugin:github/typescript"
|
||||
],
|
||||
"rules": {
|
||||
"github/no-then": "off"
|
||||
"github/no-then": "off",
|
||||
"import/extensions": ["error", "always"],
|
||||
"import/no-unresolved": ["off"]
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
|
|
16
test/test.js
16
test/test.js
|
@ -243,13 +243,13 @@ suite('include-fragment-element', function () {
|
|||
} catch (e) {
|
||||
assert.ok(e)
|
||||
} finally {
|
||||
let data
|
||||
let data2
|
||||
try {
|
||||
data = await el.data
|
||||
data2 = await el.data
|
||||
} catch {
|
||||
data = null
|
||||
data2 = null
|
||||
}
|
||||
assert.ok(data !== 42)
|
||||
assert.ok(data2 !== 42)
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -267,13 +267,13 @@ suite('include-fragment-element', function () {
|
|||
} catch (e) {
|
||||
assert.ok(e)
|
||||
} finally {
|
||||
let data
|
||||
let data2
|
||||
try {
|
||||
data = await el.data
|
||||
data2 = await el.data
|
||||
} catch {
|
||||
data = null
|
||||
data2 = null
|
||||
}
|
||||
assert.ok(data !== undefined)
|
||||
assert.ok(data2 !== undefined)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче