UNPKG

skypager-project

Version:
1,557 lines (1,535 loc) 207 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.l = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // identity function for calling harmory imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ // define getter function for harmory exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ }; /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 158); /******/ }) /************************************************************************/ /******/ ({ /***/ 158: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(67); /***/ }, /***/ 67: /***/ function(module, exports) { module.exports = { "path": "/Users/jonathan/Skypager/packages/skypager-project/src/portfolio.spec.js", "ast": { "type": "File", "start": 0, "end": 979, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 33, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 979, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 33, "column": 0 } }, "sourceType": "module", "body": [ { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_src" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "../src", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 29 } } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_src2" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault" }, "arguments": [ { "type": "Identifier", "name": "_src" } ] } } ] }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireDefault" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "name": "obj" } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "Identifier", "name": "obj" }, "operator": "&&", "right": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "obj" }, "property": { "type": "Identifier", "name": "__esModule" }, "computed": false } }, "consequent": { "type": "Identifier", "name": "obj" }, "alternate": { "type": "ObjectExpression", "properties": [ { "type": "ObjectProperty", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "default" }, "value": { "type": "Identifier", "name": "obj" } } ] } } } ], "directives": [] }, "extra": { "parenthesized": true, "parenStart": 3 } }, { "type": "ExpressionStatement", "start": 31, "end": 978, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 32, "column": 2 } }, "expression": { "type": "CallExpression", "start": 31, "end": 978, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 32, "column": 2 } }, "callee": { "type": "Identifier", "start": 31, "end": 39, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 8 }, "identifierName": "describe" }, "name": "describe" }, "arguments": [ { "type": "StringLiteral", "start": 40, "end": 64, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 33 } }, "extra": { "rawValue": "The Skypager Portfolio", "raw": "'The Skypager Portfolio'" }, "value": "The Skypager Portfolio" }, { "type": "FunctionExpression", "start": 66, "end": 977, "loc": { "start": { "line": 3, "column": 35 }, "end": { "line": 32, "column": 1 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 77, "end": 977, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 32, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 81, "end": 235, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 8, "column": 4 } }, "expression": { "type": "CallExpression", "start": 81, "end": 235, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 8, "column": 4 } }, "callee": { "type": "Identifier", "start": 81, "end": 83, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 4 }, "identifierName": "it" }, "name": "it" }, "arguments": [ { "type": "StringLiteral", "start": 84, "end": 108, "loc": { "start": { "line": 4, "column": 5 }, "end": { "line": 4, "column": 29 } }, "extra": { "rawValue": "has a helpers registry", "raw": "'has a helpers registry'" }, "value": "has a helpers registry" }, { "type": "FunctionExpression", "start": 110, "end": 234, "loc": { "start": { "line": 4, "column": 31 }, "end": { "line": 8, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 121, "end": 234, "loc": { "start": { "line": 4, "column": 42 }, "end": { "line": 8, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 127, "end": 230, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 34 } }, "expression": { "type": "CallExpression", "start": 127, "end": 230, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 127, "end": 220, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 24 } }, "object": { "type": "MemberExpression", "start": 127, "end": 211, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 15 } }, "object": { "type": "MemberExpression", "start": 127, "end": 207, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 11 } }, "object": { "type": "CallExpression", "start": 127, "end": 195, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 6, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 127, "end": 185, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 6, "column": 17 } }, "object": { "type": "MemberExpression", "start": 127, "end": 182, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 6, "column": 14 } }, "object": { "type": "MemberExpression", "start": 127, "end": 179, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 6, "column": 11 } }, "object": { "type": "CallExpression", "start": 127, "end": 167, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 127, "end": 156, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 33 } }, "object": { "type": "MemberExpression", "start": 127, "end": 147, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 24 } }, "object": { "type": "MemberExpression", "start": 127, "end": 142, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 19 } }, "object": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_src2" }, "property": { "type": "Identifier", "name": "default" }, "computed": false, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "start": 136, "end": 142, "loc": { "start": { "line": 5, "column": 13 }, "end": { "line": 5, "column": 19 }, "identifierName": "should" }, "name": "should" }, "computed": false }, "property": { "type": "Identifier", "start": 143, "end": 147, "loc": { "start": { "line": 5, "column": 20 }, "end": { "line": 5, "column": 24 }, "identifierName": "have" }, "name": "have" }, "computed": false }, "property": { "type": "Identifier", "start": 148, "end": 156, "loc": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 33 }, "identifierName": "property" }, "name": "property" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 157, "end": 166, "loc": { "start": { "line": 5, "column": 34 }, "end": { "line": 5, "column": 43 } }, "extra": { "rawValue": "helpers", "raw": "'helpers'" }, "value": "helpers" } ] }, "property": { "type": "Identifier", "start": 175, "end": 179, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 11 }, "identifierName": "that" }, "name": "that" }, "computed": false }, "property": { "type": "Identifier", "start": 180, "end": 182, "loc": { "start": { "line": 6, "column": 12 }, "end": { "line": 6, "column": 14 }, "identifierName": "is" }, "name": "is" }, "computed": false }, "property": { "type": "Identifier", "start": 183, "end": 185, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 17 }, "identifierName": "an" }, "name": "an" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 186, "end": 194, "loc": { "start": { "line": 6, "column": 18 }, "end": { "line": 6, "column": 26 } }, "extra": { "rawValue": "object", "raw": "'object'" }, "value": "object" } ] }, "property": { "type": "Identifier", "start": 203, "end": 207, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 11 }, "identifierName": "that" }, "name": "that" }, "computed": false }, "property": { "type": "Identifier", "start": 208, "end": 211, "loc": { "start": { "line": 7, "column": 12 }, "end": { "line": 7, "column": 15 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "property": { "type": "Identifier", "start": 212, "end": 220, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 24 }, "identifierName": "property" }, "name": "property" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 221, "end": 229, "loc": { "start": { "line": 7, "column": 25 }, "end": { "line": 7, "column": 33 } }, "extra": { "rawValue": "lookup", "raw": "'lookup'" }, "value": "lookup" } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 239, "end": 507, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 17, "column": 4 } }, "expression": { "type": "CallExpression", "start": 239, "end": 507, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 17, "column": 4 } }, "callee": { "type": "Identifier", "start": 239, "end": 241, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 4 }, "identifierName": "it" }, "name": "it" }, "arguments": [ { "type": "StringLiteral", "start": 242, "end": 287, "loc": { "start": { "line": 10, "column": 5 }, "end": { "line": 10, "column": 50 } }, "extra": { "rawValue": "has the skypager-project helpers by default", "raw": "'has the skypager-project helpers by default'" }, "value": "has the skypager-project helpers by default" }, { "type": "FunctionExpression", "start": 289, "end": 506, "loc": { "start": { "line": 10, "column": 52 }, "end": { "line": 17, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 300, "end": 506, "loc": { "start": { "line": 10, "column": 63 }, "end": { "line": 17, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 306, "end": 439, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 14, "column": 26 } }, "expression": { "type": "CallExpression", "start": 306, "end": 439, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 14, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 306, "end": 430, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 14, "column": 17 } }, "object": { "type": "MemberExpression", "start": 306, "end": 427, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 14, "column": 14 } }, "object": { "type": "MemberExpression", "start": 306, "end": 424, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 14, "column": 11 } }, "object": { "type": "CallExpression", "start": 306, "end": 412, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 13, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 306, "end": 399, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 13, "column": 24 } }, "object": { "type": "MemberExpression", "start": 306, "end": 390, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 13, "column": 15 } }, "object": { "type": "MemberExpression", "start": 306, "end": 386, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 13, "column": 11 } }, "object": { "type": "CallExpression", "start": 306, "end": 374, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 12, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 306, "end": 364, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 12, "column": 17 } }, "object": { "type": "MemberExpression", "start": 306, "end": 361, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 12, "column": 14 } }, "object": { "type": "MemberExpression", "start": 306, "end": 358, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 12, "column": 11 } }, "object": { "type": "CallExpression", "start": 306, "end": 346, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 306, "end": 335, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 33 } }, "object": { "type": "MemberExpression", "start": 306, "end": 326, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 24 } }, "object": { "type": "MemberExpression", "start": 306, "end": 321, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 19 } }, "object": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_src2" }, "property": { "type": "Identifier", "name": "default" }, "computed": false, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "start": 315, "end": 321, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 19 }, "identifierName": "should" }, "name": "should" }, "computed": false }, "property": { "type": "Identifier", "start": 322, "end": 326, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 24 }, "identifierName": "have" }, "name": "have" }, "computed": false }, "property": { "type": "Identifier", "start": 327, "end": 335, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 33 }, "identifierName": "property" }, "name": "property" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 336, "end": 345, "loc": { "start": { "line": 11, "column": 34 }, "end": { "line": 11, "column": 43 } }, "extra": { "rawValue": "helpers", "raw": "'helpers'" }, "value": "helpers" } ] }, "property": { "type": "Identifier", "start": 354, "end": 358, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 12, "column": 11 }, "identifierName": "that" }, "name": "that" }, "computed": false }, "property": { "type": "Identifier", "start": 359, "end": 361, "loc": { "start": { "line": 12, "column": 12 }, "end": { "line": 12, "column": 14 }, "identifierName": "is" }, "name": "is" }, "computed": false }, "property": { "type": "Identifier", "start": 362, "end": 364, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 17 }, "identifierName": "an" }, "name": "an" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 365, "end": 373, "loc": { "start": { "line": 12, "column": 18 }, "end": { "line": 12, "column": 26 } }, "extra": { "rawValue": "object", "raw": "'object'" }, "value": "object" } ] }, "property": { "type": "Identifier", "start": 382, "end": 386, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 11 }, "identifierName": "that" }, "name": "that" }, "computed": false }, "property": { "type": "Identifier", "start": 387, "end": 390, "loc": { "start": { "line": 13, "column": 12 }, "end": { "line": 13, "column": 15 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "property": { "type": "Identifier", "start": 391, "end": 399, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 24 }, "identifierName": "property" }, "name": "property" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 400, "end": 411, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 36 } }, "extra": { "rawValue": "available", "raw": "'available'" }, "value": "available" } ] }, "property": { "type": "Identifier", "start": 420, "end": 424, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 11 }, "identifierName": "that" }, "name": "that" }, "computed": false }, "property": { "type": "Identifier", "start": 425, "end": 427, "loc": { "start": { "line": 14, "column": 12 }, "end": { "line": 14, "column": 14 }, "identifierName": "is" }, "name": "is" }, "computed": false }, "property": { "type": "Identifier", "start": 428, "end": 430, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 17 }, "identifierName": "an" }, "name": "an" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 431, "end": 438, "loc": { "start": { "line": 14, "column": 18