118 lines
3.3 KiB
Plaintext
118 lines
3.3 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`attributes.html 1`] = `
|
|
====================================options=====================================
|
|
parser: "lwc"
|
|
parsers: ["lwc"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
<template>
|
|
<div
|
|
data-for={value}
|
|
data-for={value[0]}
|
|
data-for={value.toString()}
|
|
data-for={value()}
|
|
class="test"
|
|
></div>
|
|
</template>
|
|
<template if:true={value.error}>
|
|
<c-error-panel errors={value.error}></c-error-panel>
|
|
</template>
|
|
<a href="#" onclick={aFunction}>
|
|
=====================================output=====================================
|
|
<template>
|
|
<div
|
|
data-for={value}
|
|
data-for={value[0]}
|
|
data-for={value.toString()}
|
|
data-for={value()}
|
|
class="test"
|
|
></div>
|
|
</template>
|
|
<template if:true={value.error}>
|
|
<c-error-panel errors={value.error}></c-error-panel>
|
|
</template>
|
|
<a href="#" onclick={aFunction}></a>
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`attributes.html 2`] = `
|
|
====================================options=====================================
|
|
parser: "lwc"
|
|
parsers: ["lwc"]
|
|
printWidth: 80
|
|
trailingComma: "es5"
|
|
| printWidth
|
|
=====================================input======================================
|
|
<template>
|
|
<div
|
|
data-for={value}
|
|
data-for={value[0]}
|
|
data-for={value.toString()}
|
|
data-for={value()}
|
|
class="test"
|
|
></div>
|
|
</template>
|
|
<template if:true={value.error}>
|
|
<c-error-panel errors={value.error}></c-error-panel>
|
|
</template>
|
|
<a href="#" onclick={aFunction}>
|
|
=====================================output=====================================
|
|
<template>
|
|
<div
|
|
data-for={value}
|
|
data-for={value[0]}
|
|
data-for={value.toString()}
|
|
data-for={value()}
|
|
class="test"
|
|
></div>
|
|
</template>
|
|
<template if:true={value.error}>
|
|
<c-error-panel errors={value.error}></c-error-panel>
|
|
</template>
|
|
<a href="#" onclick={aFunction}></a>
|
|
|
|
================================================================================
|
|
`;
|
|
|
|
exports[`attributes.html 3`] = `
|
|
====================================options=====================================
|
|
parser: "lwc"
|
|
parsers: ["lwc"]
|
|
printWidth: 80
|
|
semi: false
|
|
| printWidth
|
|
=====================================input======================================
|
|
<template>
|
|
<div
|
|
data-for={value}
|
|
data-for={value[0]}
|
|
data-for={value.toString()}
|
|
data-for={value()}
|
|
class="test"
|
|
></div>
|
|
</template>
|
|
<template if:true={value.error}>
|
|
<c-error-panel errors={value.error}></c-error-panel>
|
|
</template>
|
|
<a href="#" onclick={aFunction}>
|
|
=====================================output=====================================
|
|
<template>
|
|
<div
|
|
data-for={value}
|
|
data-for={value[0]}
|
|
data-for={value.toString()}
|
|
data-for={value()}
|
|
class="test"
|
|
></div>
|
|
</template>
|
|
<template if:true={value.error}>
|
|
<c-error-panel errors={value.error}></c-error-panel>
|
|
</template>
|
|
<a href="#" onclick={aFunction}></a>
|
|
|
|
================================================================================
|
|
`;
|