Created
September 13, 2023 03:31
-
-
Save YonatanKra/7dd262cf22e5d7ff1ce506beed30caa7 to your computer and use it in GitHub Desktop.
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
import './main'; | |
describe('main', () => { | |
it ('should define yag-greeter', () => { | |
expect(customElements.get('yag-greeter')).toBeDefined(); | |
}); | |
}); | |
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
import { Greeter } from "./components/greeter"; | |
customElements.define("yag-greeter", Greeter); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment