chore: add command legacy karma browserstack

This commit is contained in:
Thijs Louisse 2019-08-14 17:36:28 +02:00 committed by Joren Broekema
parent 95a9ce7b0b
commit a91840f9c1
2 changed files with 2 additions and 3 deletions

View file

@ -43,6 +43,7 @@
"test:update-snapshots": "karma start --update-snapshots",
"test:prune-snapshots": "karma start --prune-snapshots",
"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:eclint": "git ls-files | xargs eclint check",
"lint:eslint": "eslint --ext .js,.html .",

View file

@ -91,9 +91,7 @@ describe('<lion-field>', () => {
});
it('can be cleared which erases value, validation and interaction states', async () => {
const el = await fixture(
html`<${tag} value="Some value from attribute">${inputSlot}</${tag}>`,
);
const el = await fixture(html`<${tag} value="Some value from attribute">${inputSlot}</${tag}>`);
el.clear();
expect(el.value).to.equal('');
el.value = 'Some value from property';