mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
fix typos
This commit is contained in:
@@ -89,7 +89,7 @@ describe('<sl-button>', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should have title if title attribute isset', async () => {
|
||||
it('should have title if title attribute is set', async () => {
|
||||
const el = await fixture<SlButton>(html` <sl-button title="Test"></sl-button> `);
|
||||
const button = el.shadowRoot!.querySelector<HTMLButtonElement>('[part~="base"]')!;
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ describe('<sl-input>', () => {
|
||||
expect(isNaN(el.valueAsNumber)).to.be.true;
|
||||
});
|
||||
|
||||
it('should have title if title attribute isset', async () => {
|
||||
it('should have title if title attribute is set', async () => {
|
||||
const el = await fixture<SlInput>(html` <sl-input title="Test"></sl-input> `);
|
||||
const input = el.shadowRoot!.querySelector<HTMLInputElement>('[part~="input"]')!;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ describe('<sl-range>', () => {
|
||||
expect(el.defaultValue).to.equal(0);
|
||||
});
|
||||
|
||||
it('should have title if title attribute isset', async () => {
|
||||
it('should have title if title attribute is set', async () => {
|
||||
const el = await fixture<SlRange>(html` <sl-range title="Test"></sl-range> `);
|
||||
const input = el.shadowRoot!.querySelector('input')!;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ describe('<sl-switch>', () => {
|
||||
expect(el.defaultChecked).to.be.false;
|
||||
});
|
||||
|
||||
it('should have title if title attribute isset', async () => {
|
||||
it('should have title if title attribute is set', async () => {
|
||||
const el = await fixture<SlSwitch>(html` <sl-switch title="Test"></sl-switch> `);
|
||||
const input = el.shadowRoot!.querySelector('input')!;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ describe('<sl-textarea>', () => {
|
||||
expect(el.inputmode).to.be.undefined;
|
||||
});
|
||||
|
||||
it('should have title if title attribute isset', async () => {
|
||||
it('should have title if title attribute is set', async () => {
|
||||
const el = await fixture<SlTextarea>(html` <sl-textarea title="Test"></sl-textarea> `);
|
||||
const textarea = el.shadowRoot!.querySelector('textarea')!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user