chore: add command legacy karma browserstack
This commit is contained in:
parent
95a9ce7b0b
commit
a91840f9c1
2 changed files with 2 additions and 3 deletions
|
|
@ -43,6 +43,7 @@
|
||||||
"test:update-snapshots": "karma start --update-snapshots",
|
"test:update-snapshots": "karma start --update-snapshots",
|
||||||
"test:prune-snapshots": "karma start --prune-snapshots",
|
"test:prune-snapshots": "karma start --prune-snapshots",
|
||||||
"test:bs": "karma start karma.bs.config.js --coverage",
|
"test:bs": "karma start karma.bs.config.js --coverage",
|
||||||
|
"test:bs:legacy": "karma start --legacy karma.bs.config.js --coverage",
|
||||||
"lint": "run-p lint:*",
|
"lint": "run-p lint:*",
|
||||||
"lint:eclint": "git ls-files | xargs eclint check",
|
"lint:eclint": "git ls-files | xargs eclint check",
|
||||||
"lint:eslint": "eslint --ext .js,.html .",
|
"lint:eslint": "eslint --ext .js,.html .",
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,7 @@ describe('<lion-field>', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can be cleared which erases value, validation and interaction states', async () => {
|
it('can be cleared which erases value, validation and interaction states', async () => {
|
||||||
const el = await fixture(
|
const el = await fixture(html`<${tag} value="Some value from attribute">${inputSlot}</${tag}>`);
|
||||||
html`<${tag} value="Some value from attribute">${inputSlot}</${tag}>`,
|
|
||||||
);
|
|
||||||
el.clear();
|
el.clear();
|
||||||
expect(el.value).to.equal('');
|
expect(el.value).to.equal('');
|
||||||
el.value = 'Some value from property';
|
el.value = 'Some value from property';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue