@salesforce/cli-plugins-testkit 2.4.0 → 2.4.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/lib/execCmd.js +1 -1
- package/package.json +3 -3
package/lib/execCmd.js
CHANGED
|
@@ -66,7 +66,7 @@ const getExitCodeError = (cmd, expectedCode, output) => {
|
|
|
66
66
|
*/
|
|
67
67
|
const buildCmd = (cmdArgs, options) => {
|
|
68
68
|
const debug = (0, debug_1.default)('testkit:buildCmd');
|
|
69
|
-
const bin = kit_1.env.getString('TESTKIT_EXECUTABLE_PATH') ?? (0, path_1.join)('bin', 'dev');
|
|
69
|
+
const bin = kit_1.env.getString('TESTKIT_EXECUTABLE_PATH') ?? (0, path_1.join)(process.cwd(), 'bin', 'dev');
|
|
70
70
|
const which = shelljs.which(bin);
|
|
71
71
|
let resolvedPath = (0, path_1.resolve)(bin);
|
|
72
72
|
// If which finds the path in the system path, use that.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli-plugins-testkit",
|
|
3
3
|
"description": "Provides test utilities to assist Salesforce CLI plug-in authors with writing non-unit tests (NUT).",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@salesforce/core": "^3.30.2",
|
|
46
|
-
"@salesforce/kit": "^1.
|
|
46
|
+
"@salesforce/kit": "^1.6.1",
|
|
47
47
|
"@salesforce/ts-types": "^1.5.21",
|
|
48
48
|
"@types/shelljs": "^0.8.11",
|
|
49
49
|
"archiver": "^5.2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@salesforce/dev-config": "^3.0.0",
|
|
57
57
|
"@salesforce/dev-scripts": "^2.0.0",
|
|
58
58
|
"@salesforce/prettier-config": "^0.0.2",
|
|
59
|
-
"@salesforce/ts-sinon": "^1.
|
|
59
|
+
"@salesforce/ts-sinon": "^1.4.0",
|
|
60
60
|
"@types/archiver": "^5.1.0",
|
|
61
61
|
"@types/debug": "^4.1.5",
|
|
62
62
|
"@typescript-eslint/eslint-plugin": "^4.26.0",
|