2.4 KiB
2.4 KiB
Snapshot report for test/hbs/test.js
The actual snapshot is saved in test.js.snap.
Generated by AVA.
handlebars
Snapshot 1
[
{
code: `<html><head>␊
<meta data-test="a">␊
</head>␊
<body>␊
<script src="batman-f8ac73ff.js" type="module"></script>␊
␊
␊
</body></html>␊
//# sourceMappingURL=index.html.map␊
`,
fileName: 'index.html',
map: SourceMap {
file: 'index.html',
mappings: '',
names: [],
sources: [],
sourcesContent: [],
version: 3,
},
source: undefined,
},
{
code: `const notSoIifi = ()=>{␊
return \`I'm "annoying" ${"in case we need to test \\\`string\\\` escaping.''"}\`;␊
};␊
console.log(notSoIifi());␊
␊
export { notSoIifi };␊
//# sourceMappingURL=batman-f8ac73ff.js.map␊
`,
fileName: 'batman-f8ac73ff.js',
map: SourceMap {
file: 'batman-f8ac73ff.js',
mappings: 'AAAY,MAAC,SAAS,GAAG,IAAI;AAC7B,IAAI,OAAO,CAAC,eAAe,EAAE,gDAAgD,CAAC,CAAC,CAAC;AAChF,EAAC;AACD,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC;;;;',
names: [],
sources: [
'../batman.js',
],
sourcesContent: [
`export const notSoIifi = ()=>{␊
return \`I'm "annoying" ${"in case we need to test \\\`string\\\` escaping.''"}\`;␊
}␊
console.log(notSoIifi());␊
`,
],
version: 3,
},
source: undefined,
},
{
code: undefined,
fileName: 'batman-f8ac73ff.js.map',
map: undefined,
source: '{"version":3,"file":"batman-f8ac73ff.js","sources":["../batman.js"],"sourcesContent":["export const notSoIifi = ()=>{\\n return `I\'m \\"annoying\\" ${\\"in case we need to test \\\\`string\\\\` escaping.\'\'\\"}`;\\n}\\nconsole.log(notSoIifi());\\n"],"names":[],"mappings":"AAAY,MAAC,SAAS,GAAG,IAAI;AAC7B,IAAI,OAAO,CAAC,eAAe,EAAE,gDAAgD,CAAC,CAAC,CAAC;AAChF,EAAC;AACD,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC;;;;"}',
},
{
code: undefined,
fileName: 'index.html.map',
map: undefined,
source: '{"version":3,"file":"index.html","sources":[],"sourcesContent":[],"names":[],"mappings":""}',
},
]