},
"extends": "../../../.eslintrc.json",
"rules": {
- "no-console": "off",
+ "no-console": "error",
// Best Practices
"consistent-return": "off",
"no-magic-numbers": "off",
$tooltip.bootstrapTooltip('show')
} catch (err) {
passed = false
- console.log(err)
}
assert.ok(passed, '.tooltip(\'show\') should not throw an error if element no longer is in dom')
var shadowRoot = $div[0].attachShadow({
mode: 'open'
})
- console.warn($div[0].attachShadow, shadowRoot)
assert.equal(shadowRoot, Util.findShadowRoot(shadowRoot))
shadowRoot.innerHTML = '<button>Shadow Button</button>'