1 line
14 KiB
JSON
1 line
14 KiB
JSON
|
{"id":"browsertest.ts","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/package.json","includedInParent":true,"mtime":1542069011329},{"name":"@pushrocks/smartlog","loc":{"line":10,"column":36},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/test/browsertest.ts","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/@pushrocks/smartlog/dist/index.js"},{"name":"../ts/index","loc":{"line":21,"column":55},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/test/browsertest.ts","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/ts/index.ts"}],"generated":{"js":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\nexports.__esModule = true;\n\nvar smartlog = __importStar(require(\"@pushrocks/smartlog\"));\n\nvar logger = smartlog.defaultLogger;\nvar logContext = {\n company: 'Lossless GmbH',\n companyunit: 'Lossless.Cloud',\n containerName: 'testContainer',\n environment: 'staging',\n runtime: 'chrome',\n zone: 'servezone'\n}; // import the module to test\n\nvar smartlogDestinationDevtools = __importStar(require(\"../ts/index\"));\n\nvar testDestination = new smartlogDestinationDevtools.SmartlogDestinationDevtools();\ntestDestination.handleLog({\n timestamp: Date.now(),\n type: 'log',\n context: logContext,\n level: 'info',\n message: 'wait, what? Hi, this is a message!'\n});","map":{"mappings":[{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":12}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":15}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":27}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":28}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":35}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":36}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":57}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":58}},{"source":"browsertest.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":15,"column":59}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":17,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":6},"generated":{"line":17,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":12},"generated":{"line":17,"column":10}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":15},"generated":{"line":17,"column":13}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":23},"generated":{"line":17,"column":21}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":24},"generated":{"line":17,"column":22}},{"source":"browsertest.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":17,"column":35}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":18,"column":0}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":6},"generated":{"line":18,"column":4}},{"source":"browsertest.ts","name":null,"original":{"line":6,"column":16},"generated":{"line":18,"column":14}},{"source":"browsertest.ts","name":null,"original":{"line":6
|