diff --git a/test/rewrite-url/snapshots/test.js.md b/test/rewrite-url/snapshots/test.js.md new file mode 100644 index 0000000..0bfa3ff --- /dev/null +++ b/test/rewrite-url/snapshots/test.js.md @@ -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 = \`␊ +
load the app
␊ + \`;␊ + };␊ + ␊ + 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 = \`␊ +
load the app
␊ + \`;␊ + }␊ + `, + ], + 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
load the app
\\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: `␊ + ␊ + ␊ +
␊ + ␊ + ␊ + ␊ + `, + }, + { + code: undefined, + fileName: 'index.html', + map: undefined, + source: `␊ + ␊ + ␊ +
␊ + ␊ + ␊ + ␊ + `, + }, + ] diff --git a/test/rewrite-url/snapshots/test.js.snap b/test/rewrite-url/snapshots/test.js.snap new file mode 100644 index 0000000..54de4b2 Binary files /dev/null and b/test/rewrite-url/snapshots/test.js.snap differ