-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ed477c
commit 92e4af3
Showing
9 changed files
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
// import { newSpecPage } from '@stencil/core/testing'; | ||
// import { DIcon } from '../d-icon'; | ||
import { newSpecPage } from '@stencil/core/testing'; | ||
import { DIcon } from '../d-icon'; | ||
|
||
// describe('d-icon', () => { | ||
// it('renders', async () => { | ||
// const page = await newSpecPage({ | ||
// components: [DIcon], | ||
// html: `<d-icon></d-icon>`, | ||
// }); | ||
// expect(page.root).toEqualHtml(` | ||
// <d-icon> | ||
// <mock:shadow-root> | ||
// <slot></slot> | ||
// </mock:shadow-root> | ||
// </d-icon> | ||
// `); | ||
// }); | ||
// }); | ||
describe('d-icon', () => { | ||
it('renders', async () => { | ||
const page = await newSpecPage({ | ||
components: [DIcon], | ||
html: `<d-icon></d-icon>`, | ||
}); | ||
expect(page.root).toEqualHtml(` | ||
<d-icon> | ||
<mock:shadow-root> | ||
<svg fill="currentColor" height="24" stroke="none" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"></svg> | ||
</mock:shadow-root> | ||
</d-icon> | ||
`); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters