tstyche 4.0.0-beta.4 → 4.0.0-beta.5
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/build/tstyche.js +8 -3
- package/package.json +4 -4
package/build/tstyche.js
CHANGED
|
@@ -2072,15 +2072,20 @@ class AbilityLayer {
|
|
|
2072
2072
|
const matcherNameEnd = assertionNode.matcherNameNode.getEnd();
|
|
2073
2073
|
switch (assertionNode.matcherNameNode.name.text) {
|
|
2074
2074
|
case "toBeApplicable":
|
|
2075
|
-
case "toBeCallableWith":
|
|
2076
2075
|
this.#addRanges(assertionNode, [
|
|
2077
2076
|
{ end: expectExpressionEnd, start: expectStart },
|
|
2078
2077
|
{ end: matcherNameEnd, start: expectEnd },
|
|
2079
2078
|
]);
|
|
2080
2079
|
break;
|
|
2080
|
+
case "toBeCallableWith":
|
|
2081
|
+
this.#addRanges(assertionNode, [
|
|
2082
|
+
{ end: expectExpressionEnd, start: expectStart, replacement: ";" },
|
|
2083
|
+
{ end: matcherNameEnd, start: expectEnd },
|
|
2084
|
+
]);
|
|
2085
|
+
break;
|
|
2081
2086
|
case "toBeConstructableWith":
|
|
2082
2087
|
this.#addRanges(assertionNode, [
|
|
2083
|
-
{ end: expectExpressionEnd, start: expectStart, replacement: "new" },
|
|
2088
|
+
{ end: expectExpressionEnd, start: expectStart, replacement: "; new" },
|
|
2084
2089
|
{ end: matcherNameEnd, start: expectEnd },
|
|
2085
2090
|
]);
|
|
2086
2091
|
break;
|
|
@@ -4593,7 +4598,7 @@ class TaskRunner {
|
|
|
4593
4598
|
class Runner {
|
|
4594
4599
|
#eventEmitter = new EventEmitter();
|
|
4595
4600
|
#resolvedConfig;
|
|
4596
|
-
static version = "4.0.0-beta.
|
|
4601
|
+
static version = "4.0.0-beta.5";
|
|
4597
4602
|
constructor(resolvedConfig) {
|
|
4598
4603
|
this.#resolvedConfig = resolvedConfig;
|
|
4599
4604
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tstyche",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.5",
|
|
4
4
|
"description": "The Essential Type Testing Tool.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"@biomejs/biome": "1.9.4",
|
|
64
64
|
"@rollup/plugin-typescript": "12.1.2",
|
|
65
65
|
"@types/node": "22.14.1",
|
|
66
|
-
"@types/react": "19.1.
|
|
66
|
+
"@types/react": "19.1.2",
|
|
67
67
|
"ajv": "8.17.1",
|
|
68
68
|
"cspell": "8.18.1",
|
|
69
69
|
"magic-string": "0.30.17",
|
|
70
|
-
"monocart-coverage-reports": "2.12.
|
|
70
|
+
"monocart-coverage-reports": "2.12.4",
|
|
71
71
|
"pretty-ansi": "3.0.0",
|
|
72
72
|
"rollup": "4.40.0",
|
|
73
73
|
"rollup-plugin-dts": "6.2.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"optional": true
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"packageManager": "yarn@4.9.
|
|
85
|
+
"packageManager": "yarn@4.9.1",
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=20.9"
|
|
88
88
|
}
|