@salesforce/cli-plugins-testkit 2.0.1 → 2.1.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/CHANGELOG.md +6 -0
- package/lib/testSession.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.1.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v2.0.1...v2.1.0) (2022-06-01)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- native node delete retries ([e4b336f](https://github.com/salesforcecli/cli-plugins-testkit/commit/e4b336f78f57ec1b43daa302c5b4eb2c1fe685c5))
|
|
10
|
+
|
|
5
11
|
### [2.0.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v2.0.0...v2.0.1) (2022-06-01)
|
|
6
12
|
|
|
7
13
|
## [2.0.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.5.35...v2.0.0) (2022-05-31)
|
package/lib/testSession.js
CHANGED
|
@@ -190,7 +190,7 @@ class TestSession extends kit_1.AsyncOptionalCreatable {
|
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
192
|
this.debug(`Deleting test session dir: ${this.dir}`);
|
|
193
|
-
return fs.promises.rm(this.dir, { recursive: true, force: true });
|
|
193
|
+
return fs.promises.rm(this.dir, { recursive: true, force: true, maxRetries: 100, retryDelay: 2000 });
|
|
194
194
|
}
|
|
195
195
|
// Executes commands and keeps track of any orgs created.
|
|
196
196
|
// Throws if any commands return a non-zero exitCode.
|
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.0
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "lib/index.js",
|