// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`lit-html.js 1`] = `
====================================options=====================================
parsers: ["babylon"]
printWidth: 80
| printWidth
=====================================input======================================
import { LitElement, html } from '@polymer/lit-element';
class MyElement extends LitElement {
static get properties() {
return {
mood: { type: String }
};
}
constructor() {
super();
this.mood = 'happy';
}
render() {
return html\`
Web Components are \${
this.mood
}!
\`;
}
}
customElements.define('my-element', MyElement);
const someHtml1 = html\`
hello \${world}
\`;
const someHtml2 = /* HTML */ \` hello \${world}
\`;
html\`\`
html\`\`;
=====================================output=====================================
import { LitElement, html } from "@polymer/lit-element";
class MyElement extends LitElement {
static get properties() {
return {
mood: { type: String }
};
}
constructor() {
super();
this.mood = "happy";
}
render() {
return html\`
Web Components are \${this.mood}!
\`;
}
}
customElements.define("my-element", MyElement);
const someHtml1 = html\`
hello \${world}
\`;
const someHtml2 = /* HTML */ \`
hello \${world}
\`;
html\`\`;
html\`
\`;
================================================================================
`;