|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`source-map-loader should work with " |
| 4 | + with SourceMap |
| 5 | +
|
| 6 | + // #sourceMappingURL = /sample-source-map.map |
| 7 | + // comment |
| 8 | + " url: result 1`] = ` |
| 9 | +" |
| 10 | + with SourceMap |
| 11 | +
|
| 12 | + REPLASED// comment |
| 13 | + " |
| 14 | +`; |
| 15 | + |
| 16 | +exports[`source-map-loader should work with " // # sourceMappingURL = absolute-sourceRoot-source-map.map " url: result 1`] = `" REPLASED"`; |
| 17 | + |
| 18 | +exports[`source-map-loader should work with " // #sourceMappingURL=absolute-sourceRoot-source-map.map" url: result 1`] = `" REPLASED"`; |
| 19 | + |
| 20 | +exports[`source-map-loader should work with "/* #sourceMappingURL=absolute-sourceRoot-source-map.map */" url: result 1`] = `"REPLASED"`; |
| 21 | + |
| 22 | +exports[`source-map-loader should work with "/*#sourceMappingURL=absolute-sourceRoot-source-map.map*/" url: result 1`] = `"REPLASED"`; |
| 23 | + |
| 24 | +exports[`source-map-loader should work with "// #sourceMappingURL = //sampledomain.com/external-source-map2.map" url: result 1`] = `"REPLASED"`; |
| 25 | + |
| 26 | +exports[`source-map-loader should work with "// #sourceMappingURL = http://sampledomain.com/external-source-map2.map" url: result 1`] = `"REPLASED"`; |
| 27 | + |
| 28 | +exports[`source-map-loader should work with "// @sourceMappingURL=data:application/source-map;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lLXNvdXJjZS1tYXAuanMiLCJzb3VyY2VzIjpbImlubGluZS1zb3VyY2UtbWFwLnR4dCJdLCJzb3VyY2VzQ29udGVudCI6WyJ3aXRoIFNvdXJjZU1hcCJdLCJtYXBwaW5ncyI6IkFBQUEifQ==" url: result 1`] = `"REPLASED"`; |
| 29 | + |
| 30 | +exports[`source-map-loader should work with "//#sourceMappingURL=absolute-sourceRoot-source-map.map" url: result 1`] = `"REPLASED"`; |
| 31 | + |
| 32 | +exports[`source-map-loader should work with "//@sourceMappingURL=absolute-sourceRoot-source-map.map" url: result 1`] = `"REPLASED"`; |
| 33 | + |
| 34 | +exports[`source-map-loader should work with "onmessage = function(event) { |
| 35 | + const workerResult = event.data; |
| 36 | +
|
| 37 | + workerResult.onmessage = true; |
| 38 | +
|
| 39 | + postMessage(workerResult); |
| 40 | +}; |
| 41 | +//# sourceURL=[module] |
| 42 | +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9iYXNpYy93b3JrZXIuanM/OGFiZiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBOztBQUVBOztBQUVBO0FBQ0EiLCJmaWxlIjoiLi9iYXNpYy93b3JrZXIuanMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJvbm1lc3NhZ2UgPSBmdW5jdGlvbihldmVudCkge1xuICBjb25zdCB3b3JrZXJSZXN1bHQgPSBldmVudC5kYXRhO1xuXG4gIHdvcmtlclJlc3VsdC5vbm1lc3NhZ2UgPSB0cnVlO1xuXG4gIHBvc3RNZXNzYWdlKHdvcmtlclJlc3VsdCk7XG59O1xuIl0sInNvdXJjZVJvb3QiOiIifQ== |
| 43 | +//# sourceURL=webpack-internal:///./basic/worker.js |
| 44 | +" url: result 1`] = ` |
| 45 | +"onmessage = function(event) { |
| 46 | + const workerResult = event.data; |
| 47 | +
|
| 48 | + workerResult.onmessage = true; |
| 49 | +
|
| 50 | + postMessage(workerResult); |
| 51 | +}; |
| 52 | +//# sourceURL=[module] |
| 53 | +REPLASED//# sourceURL=webpack-internal:///./basic/worker.js |
| 54 | +" |
| 55 | +`; |
0 commit comments