fix: missing test snapshots
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6e50208557
commit
5d2a45ef81
74
test/rewrite-url/snapshots/test.js.md
Normal file
74
test/rewrite-url/snapshots/test.js.md
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
# Snapshot report for `test/rewrite-url/test.js`
|
||||||
|
|
||||||
|
The actual snapshot is saved in `test.js.snap`.
|
||||||
|
|
||||||
|
Generated by [AVA](https://avajs.dev).
|
||||||
|
|
||||||
|
## rewrite-url
|
||||||
|
|
||||||
|
> Snapshot 1
|
||||||
|
|
||||||
|
[
|
||||||
|
{
|
||||||
|
code: `const bootstrap = (el,deps = [])=>{␊
|
||||||
|
el.innerHtml = \`␊
|
||||||
|
<div>load the app</div>␊
|
||||||
|
\`;␊
|
||||||
|
};␊
|
||||||
|
␊
|
||||||
|
export { bootstrap };␊
|
||||||
|
//# sourceMappingURL=app-88ed8fd6.js.map␊
|
||||||
|
`,
|
||||||
|
fileName: 'admin/app-88ed8fd6.js',
|
||||||
|
map: SourceMap {
|
||||||
|
file: 'app-88ed8fd6.js',
|
||||||
|
mappings: 'AAAY,MAAC,SAAS,GAAG,CAAC,EAAE,CAAC,IAAI,GAAG,EAAE,GAAG;AACzC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC;AACpB;AACA,IAAI,CAAC,CAAC;AACN;;;;',
|
||||||
|
names: [],
|
||||||
|
sources: [
|
||||||
|
'../../admin/app.js',
|
||||||
|
],
|
||||||
|
sourcesContent: [
|
||||||
|
`export const bootstrap = (el,deps = [])=>{␊
|
||||||
|
el.innerHtml = \`␊
|
||||||
|
<div>load the app</div>␊
|
||||||
|
\`;␊
|
||||||
|
}␊
|
||||||
|
`,
|
||||||
|
],
|
||||||
|
version: 3,
|
||||||
|
},
|
||||||
|
source: undefined,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: undefined,
|
||||||
|
fileName: 'admin/app-88ed8fd6.js.map',
|
||||||
|
map: undefined,
|
||||||
|
source: '{"version":3,"file":"app-88ed8fd6.js","sources":["../../admin/app.js"],"sourcesContent":["export const bootstrap = (el,deps = [])=>{\\n el.innerHtml = `\\n <div>load the app</div>\\n `;\\n}\\n"],"names":[],"mappings":"AAAY,MAAC,SAAS,GAAG,CAAC,EAAE,CAAC,IAAI,GAAG,EAAE,GAAG;AACzC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC;AACpB;AACA,IAAI,CAAC,CAAC;AACN;;;;"}',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: undefined,
|
||||||
|
fileName: 'admin/index.html',
|
||||||
|
map: undefined,
|
||||||
|
source: `<html><head>␊
|
||||||
|
</head>␊
|
||||||
|
<body>␊
|
||||||
|
<div id="root"></div>␊
|
||||||
|
<script src="/admin/app-88ed8fd6.js" type="module"></script>␊
|
||||||
|
␊
|
||||||
|
␊
|
||||||
|
</body></html>`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: undefined,
|
||||||
|
fileName: 'index.html',
|
||||||
|
map: undefined,
|
||||||
|
source: `<html><head>␊
|
||||||
|
</head>␊
|
||||||
|
<body>␊
|
||||||
|
<div id="root"></div>␊
|
||||||
|
<script src="/admin/app-88ed8fd6.js" type="module"></script>␊
|
||||||
|
␊
|
||||||
|
␊
|
||||||
|
</body></html>`,
|
||||||
|
},
|
||||||
|
]
|
||||||
BIN
test/rewrite-url/snapshots/test.js.snap
Normal file
BIN
test/rewrite-url/snapshots/test.js.snap
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user