@salesforce/cli-plugins-testkit 3.1.1 → 3.1.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.
@@ -203,6 +203,8 @@ class TestSession extends kit_1.AsyncOptionalCreatable {
203
203
  // Executes commands and keeps track of any orgs created.
204
204
  // Throws if any commands return a non-zero exitCode.
205
205
  async createOrgs(orgs = []) {
206
+ if (orgs.length === 0)
207
+ return;
206
208
  const dbug = (0, debug_1.debug)('testkit:createOrgs');
207
209
  const setup = () => {
208
210
  for (const org of orgs) {
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": "3.1.1",
4
+ "version": "3.1.2",
5
5
  "author": "Salesforce",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "lib/index.js",