@salesforce/source-testkit 1.0.2 → 1.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/testkit.js +4 -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
|
+
## [1.1.0](https://github.com/salesforcecli/source-testkit/compare/v1.0.2...v1.1.0) (2022-06-06)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- clear StateAggregator ([180ee90](https://github.com/salesforcecli/source-testkit/commit/180ee9081e307ed17948a4c92140ddf7ed5d4da1))
|
|
10
|
+
|
|
5
11
|
### [1.0.2](https://github.com/salesforcecli/source-testkit/compare/v1.0.1...v1.0.2) (2022-06-06)
|
|
6
12
|
|
|
7
13
|
### [1.0.1](https://github.com/salesforcecli/source-testkit/compare/v1.0.0...v1.0.1) (2022-05-31)
|
package/lib/testkit.js
CHANGED
|
@@ -473,9 +473,12 @@ class SourceTestkit extends kit_1.AsyncCreatable {
|
|
|
473
473
|
async createConnection() {
|
|
474
474
|
if (this.orgless)
|
|
475
475
|
return;
|
|
476
|
-
|
|
476
|
+
core_1.StateAggregator.clearInstance();
|
|
477
|
+
const conn = await core_1.Connection.create({
|
|
477
478
|
authInfo: await core_1.AuthInfo.create({ username: this.username }),
|
|
478
479
|
});
|
|
480
|
+
core_1.StateAggregator.clearInstance();
|
|
481
|
+
return conn;
|
|
479
482
|
}
|
|
480
483
|
async doGlob(globs) {
|
|
481
484
|
const dir = this.projectDir.replace(/\\/g, '/');
|
package/package.json
CHANGED