59 lines
2.1 KiB
Markdown
59 lines
2.1 KiB
Markdown
# Snapshot report for `test/basic/test.js`
|
|
|
|
The actual snapshot is saved in `test.js.snap`.
|
|
|
|
Generated by [AVA](https://avajs.dev).
|
|
|
|
## simple
|
|
|
|
> Snapshot 1
|
|
|
|
[
|
|
{
|
|
code: `const test = ()=>{␊
|
|
return \`I'm "annoying" ${"in case we need to test \\\`string\\\` escaping."}. Hence this files \\'tries\\' to include all allowed forms of 'it'\`;␊
|
|
};␊
|
|
console.log(test());␊
|
|
␊
|
|
export { test };␊
|
|
//# sourceMappingURL=batman-9dbe0e1d.js.map␊
|
|
`,
|
|
fileName: 'batman-9dbe0e1d.js',
|
|
map: SourceMap {
|
|
file: 'batman-9dbe0e1d.js',
|
|
mappings: 'AAAY,MAAC,IAAI,GAAG,IAAI;AACxB,IAAI,OAAO,CAAC,eAAe,EAAE,8CAA8C,CAAC,iEAAiE,CAAC,CAAC;AAC/I,EAAC;AACD,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;;;;',
|
|
names: [],
|
|
sources: [
|
|
'../batman.js',
|
|
],
|
|
sourcesContent: [
|
|
`export const test = ()=>{␊
|
|
return \`I'm "annoying" ${"in case we need to test \\\`string\\\` escaping."}. Hence this files \\'tries\\' to include all allowed forms of 'it'\`;␊
|
|
}␊
|
|
console.log(test());␊
|
|
`,
|
|
],
|
|
version: 3,
|
|
},
|
|
source: undefined,
|
|
},
|
|
{
|
|
code: undefined,
|
|
fileName: 'batman-9dbe0e1d.js.map',
|
|
map: undefined,
|
|
source: '{"version":3,"file":"batman-9dbe0e1d.js","sources":["../batman.js"],"sourcesContent":["export const test = ()=>{\\n return `I\'m \\"annoying\\" ${\\"in case we need to test \\\\`string\\\\` escaping.\\"}. Hence this files \\\\\'tries\\\\\' to include all allowed forms of \'it\'`;\\n}\\nconsole.log(test());\\n"],"names":[],"mappings":"AAAY,MAAC,IAAI,GAAG,IAAI;AACxB,IAAI,OAAO,CAAC,eAAe,EAAE,8CAA8C,CAAC,iEAAiE,CAAC,CAAC;AAC/I,EAAC;AACD,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;;;;"}',
|
|
},
|
|
{
|
|
code: undefined,
|
|
fileName: 'index.html',
|
|
map: undefined,
|
|
source: `<html><head>␊
|
|
</head>␊
|
|
<body>␊
|
|
<script src="batman-9dbe0e1d.js" type="module"></script>␊
|
|
␊
|
|
␊
|
|
</body></html>`,
|
|
},
|
|
]
|