|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`when applied with \`chunkFilter\` option matches snapshot for a single \`chunkFilter\`: entry.dd5931aa48f58d803916.js 1`] = `"!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&\\"object\\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,\\"default\\",{enumerable:!0,value:t}),2&e&&\\"string\\"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,\\"a\\",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p=\\"\\",o(o.s=1)}([,function(e,t){e.exports=function(){console.log(7)}}]);"`; |
| 4 | + |
| 5 | +exports[`when applied with \`chunkFilter\` option matches snapshot for a single \`chunkFilter\`: errors 1`] = `Array []`; |
| 6 | + |
| 7 | +exports[`when applied with \`chunkFilter\` option matches snapshot for a single \`chunkFilter\`: included.246349b8cbc039f3eb25.js 1`] = ` |
| 8 | +"/******/ (function(modules) { // webpackBootstrap |
| 9 | +/******/ // The module cache |
| 10 | +/******/ var installedModules = {}; |
| 11 | +/******/ |
| 12 | +/******/ // The require function |
| 13 | +/******/ function __webpack_require__(moduleId) { |
| 14 | +/******/ |
| 15 | +/******/ // Check if module is in cache |
| 16 | +/******/ if(installedModules[moduleId]) { |
| 17 | +/******/ return installedModules[moduleId].exports; |
| 18 | +/******/ } |
| 19 | +/******/ // Create a new module (and put it into the cache) |
| 20 | +/******/ var module = installedModules[moduleId] = { |
| 21 | +/******/ i: moduleId, |
| 22 | +/******/ l: false, |
| 23 | +/******/ exports: {} |
| 24 | +/******/ }; |
| 25 | +/******/ |
| 26 | +/******/ // Execute the module function |
| 27 | +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| 28 | +/******/ |
| 29 | +/******/ // Flag the module as loaded |
| 30 | +/******/ module.l = true; |
| 31 | +/******/ |
| 32 | +/******/ // Return the exports of the module |
| 33 | +/******/ return module.exports; |
| 34 | +/******/ } |
| 35 | +/******/ |
| 36 | +/******/ |
| 37 | +/******/ // expose the modules object (__webpack_modules__) |
| 38 | +/******/ __webpack_require__.m = modules; |
| 39 | +/******/ |
| 40 | +/******/ // expose the module cache |
| 41 | +/******/ __webpack_require__.c = installedModules; |
| 42 | +/******/ |
| 43 | +/******/ // define getter function for harmony exports |
| 44 | +/******/ __webpack_require__.d = function(exports, name, getter) { |
| 45 | +/******/ if(!__webpack_require__.o(exports, name)) { |
| 46 | +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| 47 | +/******/ } |
| 48 | +/******/ }; |
| 49 | +/******/ |
| 50 | +/******/ // define __esModule on exports |
| 51 | +/******/ __webpack_require__.r = function(exports) { |
| 52 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 53 | +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 54 | +/******/ } |
| 55 | +/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 56 | +/******/ }; |
| 57 | +/******/ |
| 58 | +/******/ // create a fake namespace object |
| 59 | +/******/ // mode & 1: value is a module id, require it |
| 60 | +/******/ // mode & 2: merge all properties of value into the ns |
| 61 | +/******/ // mode & 4: return value when already ns object |
| 62 | +/******/ // mode & 8|1: behave like require |
| 63 | +/******/ __webpack_require__.t = function(value, mode) { |
| 64 | +/******/ if(mode & 1) value = __webpack_require__(value); |
| 65 | +/******/ if(mode & 8) return value; |
| 66 | +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| 67 | +/******/ var ns = Object.create(null); |
| 68 | +/******/ __webpack_require__.r(ns); |
| 69 | +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| 70 | +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| 71 | +/******/ return ns; |
| 72 | +/******/ }; |
| 73 | +/******/ |
| 74 | +/******/ // getDefaultExport function for compatibility with non-harmony modules |
| 75 | +/******/ __webpack_require__.n = function(module) { |
| 76 | +/******/ var getter = module && module.__esModule ? |
| 77 | +/******/ function getDefault() { return module['default']; } : |
| 78 | +/******/ function getModuleExports() { return module; }; |
| 79 | +/******/ __webpack_require__.d(getter, 'a', getter); |
| 80 | +/******/ return getter; |
| 81 | +/******/ }; |
| 82 | +/******/ |
| 83 | +/******/ // Object.prototype.hasOwnProperty.call |
| 84 | +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| 85 | +/******/ |
| 86 | +/******/ // __webpack_public_path__ |
| 87 | +/******/ __webpack_require__.p = \\"\\"; |
| 88 | +/******/ |
| 89 | +/******/ |
| 90 | +/******/ // Load entry module and return exports |
| 91 | +/******/ return __webpack_require__(__webpack_require__.s = 0); |
| 92 | +/******/ }) |
| 93 | +/************************************************************************/ |
| 94 | +/******/ ([ |
| 95 | +/* 0 */ |
| 96 | +/***/ (function(module, exports) { |
| 97 | +
|
| 98 | +module.exports = function Bar1() { |
| 99 | + var b = 2 + 2; |
| 100 | + console.log(b + 1 + 2); |
| 101 | +}; |
| 102 | +
|
| 103 | +
|
| 104 | +/***/ }) |
| 105 | +/******/ ]);" |
| 106 | +`; |
| 107 | + |
| 108 | +exports[`when applied with \`chunkFilter\` option matches snapshot for a single \`chunkFilter\`: warnings 1`] = `Array []`; |
0 commit comments