Fix test expectations

This commit is contained in:
Justin Fagnani
2020-03-17 16:55:23 -07:00
committed by Justin Fagnani
parent 0fdd9a757a
commit 1191e25a2b

View File

@@ -14,7 +14,7 @@ suite('my-element', () => {
const el = await fixture(html`<my-element></my-element>`); const el = await fixture(html`<my-element></my-element>`);
assert.shadowDom.equal(el, ` assert.shadowDom.equal(el, `
<h1>Hello, World!</h1> <h1>Hello, World!</h1>
<button>Click Count: 0</button> <button part="button">Click Count: 0</button>
<slot></slot> <slot></slot>
`); `);
}); });
@@ -23,7 +23,7 @@ suite('my-element', () => {
const el = await fixture(html`<my-element name="Test"></my-element>`); const el = await fixture(html`<my-element name="Test"></my-element>`);
assert.shadowDom.equal(el, ` assert.shadowDom.equal(el, `
<h1>Hello, Test!</h1> <h1>Hello, Test!</h1>
<button>Click Count: 0</button> <button part="button">Click Count: 0</button>
<slot></slot> <slot></slot>
`); `);
}); });
@@ -35,7 +35,7 @@ suite('my-element', () => {
await el.updateComplete; await el.updateComplete;
assert.shadowDom.equal(el, ` assert.shadowDom.equal(el, `
<h1>Hello, World!</h1> <h1>Hello, World!</h1>
<button>Click Count: 1</button> <button part="button">Click Count: 1</button>
<slot></slot> <slot></slot>
`); `);
}); });