@servicetitan/startup-jest 1.2.0 → 1.3.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/jest/index.js +7 -16
- package/dist/jest/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.json +1 -2
package/dist/jest/index.js
CHANGED
|
@@ -1,33 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.runJestCli =
|
|
3
|
+
exports.runJestCli = runJestCli;
|
|
15
4
|
const yargs_1 = require("yargs");
|
|
16
5
|
const tests_1 = require("@servicetitan/startup/dist/cli/commands/tests");
|
|
17
6
|
const utils_1 = require("@servicetitan/startup/dist/utils");
|
|
18
7
|
function runJestCli() {
|
|
19
8
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
20
|
-
const
|
|
9
|
+
const { $0, _, ...argvSync } = yargs_1.argv;
|
|
21
10
|
// Fix reporters, because Rider sends it as string, but array is required by Jest
|
|
22
11
|
argvSync.reporters = (0, utils_1.toArray)(argvSync.reporters);
|
|
23
12
|
let cliArgument = _;
|
|
24
13
|
if (argvSync.runTestsByPath) {
|
|
25
14
|
cliArgument = [argvSync.runTestsByPath];
|
|
26
15
|
}
|
|
27
|
-
const jestCommand = new tests_1.Tests(
|
|
16
|
+
const jestCommand = new tests_1.Tests({
|
|
17
|
+
$0,
|
|
28
18
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
29
|
-
_: cliArgument
|
|
19
|
+
_: cliArgument,
|
|
20
|
+
...argvSync,
|
|
21
|
+
});
|
|
30
22
|
return jestCommand.execute();
|
|
31
23
|
}
|
|
32
|
-
exports.runJestCli = runJestCli;
|
|
33
24
|
//# sourceMappingURL=index.js.map
|
package/dist/jest/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/jest/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/jest/index.ts"],"names":[],"mappings":";;AAIA,gCAkBC;AAtBD,iCAAwC;AACxC,yEAAsE;AACtE,4DAA2D;AAE3D,SAAgB,UAAU;IACtB,gEAAgE;IAChE,MAAM,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,YAAiB,CAAC;IAEjD,iFAAiF;IACjF,QAAQ,CAAC,SAAS,GAAG,IAAA,eAAO,EAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEjD,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,IAAI,QAAQ,CAAC,cAAc,EAAE,CAAC;QAC1B,WAAW,GAAG,CAAC,QAAQ,CAAC,cAAwB,CAAC,CAAC;IACtD,CAAC;IACD,MAAM,WAAW,GAAG,IAAI,aAAK,CAAC;QAC1B,EAAE;QACF,gEAAgE;QAChE,CAAC,EAAE,WAAW;QACd,GAAG,QAAQ;KACd,CAAC,CAAC;IACH,OAAO,WAAW,CAAC,OAAO,EAAE,CAAC;AACjC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/startup-jest",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/startup",
|
|
6
6
|
"repository": {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"cli": {
|
|
35
35
|
"webpack": false
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "c1d645b3e5643ba5a50e4898d9f786212334792a"
|
|
38
38
|
}
|