@thisisagile/easy-test 10.5.25 → 10.6.0
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/dist/mock/Fits.js +1 -1
- package/dist/mock/Fits.js.map +1 -1
- package/package.json +7 -7
- package/src/mock/Fits.ts +1 -1
package/dist/mock/Fits.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fits = void 0;
|
|
4
|
-
const asymmetricMatchers_1 = require("expect/build/asymmetricMatchers");
|
|
5
4
|
const Utils_1 = require("../utils/Utils");
|
|
6
5
|
const Eq_1 = require("../utils/Eq");
|
|
6
|
+
const asymmetricMatchers_1 = require("expect/build/asymmetricMatchers");
|
|
7
7
|
class ObjectContainingText extends asymmetricMatchers_1.AsymmetricMatcher {
|
|
8
8
|
asymmetricMatch(other) {
|
|
9
9
|
return (0, Utils_1.asString)(other).includes((0, Utils_1.asString)(this.sample));
|
package/dist/mock/Fits.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fits.js","sourceRoot":"","sources":["../../src/mock/Fits.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Fits.js","sourceRoot":"","sources":["../../src/mock/Fits.ts"],"names":[],"mappings":";;;AAAA,0CAAkD;AAClD,oCAAiC;AACjC,wEAAoE;AAEpE,MAAM,oBAAqB,SAAQ,sCAAyB;IAC1D,eAAe,CAAC,KAAU;QACxB,OAAO,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAA,gBAAQ,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACzD,CAAC;IAED,QAAQ;QACN,OAAO,SAAS,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC;IACxD,CAAC;CACF;AAED,MAAM,oBAAqB,SAAQ,sCAAsB;IACvD,eAAe,CAAC,KAAU;QACxB,OAAO,OAAE,CAAC,MAAM,CAAC,IAAA,cAAM,EAAC,KAAK,CAAC,EAAE,IAAA,cAAM,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,QAAQ;QACN,OAAO,SAAS,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC;IACxD,CAAC;CACF;AAEY,QAAA,IAAI,GAAG;IAClB,GAAG,EAAE,GAAQ,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE;IACjC,IAAI,EAAE,CAAC,IAAc,EAAO,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAU,EAAO,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACrD,IAAI,EAAE,CAAC,CAAM,EAAO,EAAE,CAAC,IAAI,oBAAoB,CAAC,CAAC,CAAC;IAClD,IAAI,EAAE,CAAC,CAAM,EAAO,EAAE,CAAC,IAAI,oBAAoB,CAAC,CAAC,CAAC;CACnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thisisagile/easy-test",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.6.0",
|
|
4
4
|
"description": "Straightforward library for testing microservices built with @thisisagile/easy",
|
|
5
5
|
"author": "Sander Hoogendoorn",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"weak-napi": "^2.0.2"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@types/jest": "^27.
|
|
40
|
-
"@types/node": "^17.0.
|
|
41
|
-
"expect": "
|
|
42
|
-
"jest": "
|
|
43
|
-
"jest-junit": "^13.
|
|
39
|
+
"@types/jest": "^27.5.0",
|
|
40
|
+
"@types/node": "^17.0.31",
|
|
41
|
+
"expect": "27.5.1",
|
|
42
|
+
"jest": "27.5.1",
|
|
43
|
+
"jest-junit": "^13.2.0",
|
|
44
44
|
"jest-sonar-reporter": "^2.0.0",
|
|
45
|
-
"ts-jest": "^
|
|
45
|
+
"ts-jest": "^28.0.2"
|
|
46
46
|
}
|
|
47
47
|
}
|
package/src/mock/Fits.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AsymmetricMatcher } from 'expect/build/asymmetricMatchers';
|
|
2
1
|
import { asJson, asString } from '../utils/Utils';
|
|
3
2
|
import { eq } from '../utils/Eq';
|
|
3
|
+
import { AsymmetricMatcher } from 'expect/build/asymmetricMatchers';
|
|
4
4
|
|
|
5
5
|
class ObjectContainingText extends AsymmetricMatcher<string> {
|
|
6
6
|
asymmetricMatch(other: any) {
|