@salesforce/source-testkit 1.0.2 → 1.2.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 +19 -0
- package/lib/testkit.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
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.2.0](https://github.com/salesforcecli/source-testkit/compare/v1.1.1...v1.2.0) (2022-06-08)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- bump core and regular testkit ([59701f8](https://github.com/salesforcecli/source-testkit/commit/59701f8da94028bc39fb34fc0ae2b0b32d582bef))
|
|
10
|
+
|
|
11
|
+
### [1.1.1](https://github.com/salesforcecli/source-testkit/compare/v1.1.0...v1.1.1) (2022-06-06)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- don't clear StateAggregator ([c6cdc17](https://github.com/salesforcecli/source-testkit/commit/c6cdc171bdb8c53e9c5920b8dcb92952db6a2f9c))
|
|
16
|
+
- testkit with no StateAgg clearing ([63b5c0f](https://github.com/salesforcecli/source-testkit/commit/63b5c0fe31caaa0ff576fab2d49cb3de024a6c69))
|
|
17
|
+
|
|
18
|
+
## [1.1.0](https://github.com/salesforcecli/source-testkit/compare/v1.0.2...v1.1.0) (2022-06-06)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
- clear StateAggregator ([180ee90](https://github.com/salesforcecli/source-testkit/commit/180ee9081e307ed17948a4c92140ddf7ed5d4da1))
|
|
23
|
+
|
|
5
24
|
### [1.0.2](https://github.com/salesforcecli/source-testkit/compare/v1.0.1...v1.0.2) (2022-06-06)
|
|
6
25
|
|
|
7
26
|
### [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,10 @@ class SourceTestkit extends kit_1.AsyncCreatable {
|
|
|
473
473
|
async createConnection() {
|
|
474
474
|
if (this.orgless)
|
|
475
475
|
return;
|
|
476
|
-
|
|
476
|
+
const conn = await core_1.Connection.create({
|
|
477
477
|
authInfo: await core_1.AuthInfo.create({ username: this.username }),
|
|
478
478
|
});
|
|
479
|
+
return conn;
|
|
479
480
|
}
|
|
480
481
|
async doGlob(globs) {
|
|
481
482
|
const dir = this.projectDir.replace(/\\/g, '/');
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/source-testkit",
|
|
3
3
|
"description": "testkit for running NUTs for source related commands",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"!lib/**/*.map"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@salesforce/cli-plugins-testkit": "^2.
|
|
34
|
-
"@salesforce/core": "^3.
|
|
33
|
+
"@salesforce/cli-plugins-testkit": "^2.2.0",
|
|
34
|
+
"@salesforce/core": "^3.20.1",
|
|
35
35
|
"@salesforce/kit": "^1.5.42",
|
|
36
36
|
"@salesforce/source-deploy-retrieve": "^6.0.2",
|
|
37
37
|
"@salesforce/ts-types": "^1.5.20",
|