tsmockit 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Mock/Mock.js CHANGED
@@ -68,7 +68,7 @@ var Mock = /** @class */ (function () {
68
68
  var memberSignatureMap = this.memberSignatureMaps.find(function (m) { return m.signature === signature; });
69
69
  if (timesCalled !== times) {
70
70
  // eslint-disable-next-line no-console
71
- console.log("Actual calls made for, \"" + signature + ":", memberSignatureMap === null || memberSignatureMap === void 0 ? void 0 : memberSignatureMap.functionMaps.map(function (m) { return m.originalSignature + " x " + m.timesCalled; }));
71
+ console.log("Actual calls made for, \"".concat(signature, ":"), memberSignatureMap === null || memberSignatureMap === void 0 ? void 0 : memberSignatureMap.functionMaps.map(function (m) { return "".concat(m.originalSignature, " x ").concat(m.timesCalled); }));
72
72
  }
73
73
  expect(timesCalled).toEqual(times, timesCalled !== times ? '' : undefined);
74
74
  };
@@ -52,7 +52,7 @@ var SignatureService = /** @class */ (function () {
52
52
  memberSignature = operationNameMatches[1];
53
53
  if (operationNameMatches[2]) {
54
54
  var paramString = SignatureService.getParamString(operationNameMatches);
55
- memberSignature += "(" + paramString + ")";
55
+ memberSignature += "(".concat(paramString, ")");
56
56
  }
57
57
  else {
58
58
  memberSignature += '()';
@@ -84,7 +84,7 @@ var SignatureService = /** @class */ (function () {
84
84
  .match(Constants_1.Regex.Params);
85
85
  var params = '';
86
86
  for (var index = 0; index < (paramStrings ? paramStrings.length : 0); index++) {
87
- params += ((index > 0 ? ', ' : '') + "p" + index);
87
+ params += ("".concat(index > 0 ? ', ' : '', "p").concat(index));
88
88
  }
89
89
  return params;
90
90
  };
package/Mock/module.js CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Any = void 0;
4
4
  var tslib_1 = require("tslib");
5
- (0, tslib_1.__exportStar)(require("./Mock"), exports);
6
- (0, tslib_1.__exportStar)(require("./Times"), exports);
5
+ tslib_1.__exportStar(require("./Mock"), exports);
6
+ tslib_1.__exportStar(require("./Times"), exports);
7
7
  var Any_1 = require("./Any");
8
8
  Object.defineProperty(exports, "Any", { enumerable: true, get: function () { return Any_1.Any; } });
9
9
  //# sourceMappingURL=module.js.map
package/Utility/module.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./EmitEventAtElement"), exports);
5
- (0, tslib_1.__exportStar)(require("./EmitKeyEventAtElement"), exports);
6
- (0, tslib_1.__exportStar)(require("./Expect"), exports);
4
+ tslib_1.__exportStar(require("./EmitEventAtElement"), exports);
5
+ tslib_1.__exportStar(require("./EmitKeyEventAtElement"), exports);
6
+ tslib_1.__exportStar(require("./Expect"), exports);
7
7
  //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "dependency injection"
15
15
  ],
16
16
  "license": "MIT",
17
- "version": "2.0.1",
17
+ "version": "2.0.2",
18
18
  "description": "Generic mocking library for TypeScript",
19
19
  "private": false,
20
20
  "main": "./public_api.js",
package/public_api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./Mock/module"), exports);
5
- (0, tslib_1.__exportStar)(require("./Utility/module"), exports);
4
+ tslib_1.__exportStar(require("./Mock/module"), exports);
5
+ tslib_1.__exportStar(require("./Utility/module"), exports);
6
6
  //# sourceMappingURL=public_api.js.map