106 lines
3.3 KiB
Markdown
106 lines
3.3 KiB
Markdown
# Snapshot report for `test/url-plugin/test.js`
|
|
|
|
The actual snapshot is saved in `test.js.snap`.
|
|
|
|
Generated by [AVA](https://avajs.dev).
|
|
|
|
## copied-assets
|
|
|
|
> Snapshot 1
|
|
|
|
[
|
|
{
|
|
code: `const b = ()=>'batman';␊
|
|
console.log(b());␊
|
|
␊
|
|
export { b };␊
|
|
//# sourceMappingURL=batman-c7fa228c.js.map␊
|
|
`,
|
|
fileName: 'batman-c7fa228c.js',
|
|
map: SourceMap {
|
|
file: 'batman-c7fa228c.js',
|
|
mappings: 'AAAY,MAAC,CAAC,GAAG,IAAI,SAAS;AAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;;;;',
|
|
names: [],
|
|
sources: [
|
|
'../batman.js',
|
|
],
|
|
sourcesContent: [
|
|
`export const b = ()=>'batman';␊
|
|
console.log(b());␊
|
|
`,
|
|
],
|
|
version: 3,
|
|
},
|
|
source: undefined,
|
|
},
|
|
{
|
|
code: undefined,
|
|
fileName: 'batman-c7fa228c.js.map',
|
|
map: undefined,
|
|
source: '{"version":3,"file":"batman-c7fa228c.js","sources":["../batman.js"],"sourcesContent":["export const b = ()=>\'batman\';\\nconsole.log(b());\\n"],"names":[],"mappings":"AAAY,MAAC,CAAC,GAAG,IAAI,SAAS;AAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;;;;"}',
|
|
},
|
|
{
|
|
code: undefined,
|
|
fileName: 'index.html',
|
|
map: undefined,
|
|
source: `<html><head>␊
|
|
<link rel="icon" href="fb585fdb6db313c9.svg">␊
|
|
</head>␊
|
|
<body>␊
|
|
<script src="batman-c7fa228c.js" type="module"></script>␊
|
|
␊
|
|
␊
|
|
</body></html>`,
|
|
},
|
|
]
|
|
|
|
## inlined-assets
|
|
|
|
> Snapshot 1
|
|
|
|
[
|
|
{
|
|
code: `const b = ()=>'batman';␊
|
|
console.log(b());␊
|
|
␊
|
|
export { b };␊
|
|
//# sourceMappingURL=batman-c7fa228c.js.map␊
|
|
`,
|
|
fileName: 'batman-c7fa228c.js',
|
|
map: SourceMap {
|
|
file: 'batman-c7fa228c.js',
|
|
mappings: 'AAAY,MAAC,CAAC,GAAG,IAAI,SAAS;AAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;;;;',
|
|
names: [],
|
|
sources: [
|
|
'../batman.js',
|
|
],
|
|
sourcesContent: [
|
|
`export const b = ()=>'batman';␊
|
|
console.log(b());␊
|
|
`,
|
|
],
|
|
version: 3,
|
|
},
|
|
source: undefined,
|
|
},
|
|
{
|
|
code: undefined,
|
|
fileName: 'batman-c7fa228c.js.map',
|
|
map: undefined,
|
|
source: '{"version":3,"file":"batman-c7fa228c.js","sources":["../batman.js"],"sourcesContent":["export const b = ()=>\'batman\';\\nconsole.log(b());\\n"],"names":[],"mappings":"AAAY,MAAC,CAAC,GAAG,IAAI,SAAS;AAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;;;;"}',
|
|
},
|
|
{
|
|
code: undefined,
|
|
fileName: 'index.html',
|
|
map: undefined,
|
|
source: `<html><head>␊
|
|
<link rel="icon" href="data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2032%2032%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%2300ff0d%3Bstroke-width%3A5%3Bstroke-linecap%3Asquare%3Bstroke-linejoin%3Amiter%3Bstroke-dasharray%3Anone%3Bstroke-opacity%3A1%22%20d%3D%22M4.1%2014.72%2016%2026.31%2028.38%205.09%22%2F%3E%3C%2Fsvg%3E">␊
|
|
</head>␊
|
|
<body>␊
|
|
<script src="batman-c7fa228c.js" type="module"></script>␊
|
|
␊
|
|
␊
|
|
</body></html>`,
|
|
},
|
|
]
|