2023-05-20 21:57:36 +02:00

1.6 KiB

Snapshot report for test/watch/test.js

The actual snapshot is saved in test.js.snap.

Generated by AVA.

watch

Snapshot 1

[
  {
    code: undefined,
    fileName: 'index.html',
    map: undefined,
    source: `<html><head>␊
        </head>␊
        <body>␊
            <script src="watched-file-8c4729c5.js" type="module"></script>␊
        ␊
    ␊
    </body></html>`,
  },
  {
    code: `const a = 2; // If i show up as a changed file, then the watch test has gone wrong!␊
    ␊
    export { a };␊
    //# sourceMappingURL=watched-file-8c4729c5.js.map␊
    `,
    fileName: 'watched-file-8c4729c5.js',
    map: SourceMap {
      file: 'watched-file-8c4729c5.js',
      mappings: 'AACgB,MAAC,CAAC,GAAG,EAAE;;;;',
      names: [],
      sources: [
        '../watched-file.js',
      ],
      sourcesContent: [
        `␊
            export const a = 2; // If i show up as a changed file, then the watch test has gone wrong!␊
          `,
      ],
      version: 3,
    },
    source: undefined,
  },
  {
    code: undefined,
    fileName: 'watched-file-8c4729c5.js.map',
    map: undefined,
    source: '{"version":3,"file":"watched-file-8c4729c5.js","sources":["../watched-file.js"],"sourcesContent":["\\n    export const a = 2; // If i show up as a changed file, then the watch test has gone wrong!\\n  "],"names":[],"mappings":"AACgB,MAAC,CAAC,GAAG,EAAE;;;;"}',
  },
]