Skip to content

Commit

Permalink
feat: core7, jsforce-node
Browse files Browse the repository at this point in the history
* chore: updates from devScripts

* test: testSetup import

---------

Co-authored-by: mshanemc <[email protected]>
  • Loading branch information
svc-cli-bot and mshanemc authored Apr 10, 2024
1 parent 73436c4 commit f47cc83
Show file tree
Hide file tree
Showing 11 changed files with 176 additions and 44 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
"dependencies": {
"@inquirer/checkbox": "^1.5.2",
"@inquirer/select": "^1.3.3",
"@oclif/core": "^3.26.0",
"@salesforce/core": "^6.7.6",
"@oclif/core": "^3.26.2",
"@salesforce/core": "^7.0.1",
"@salesforce/kit": "^3.1.0",
"@salesforce/plugin-info": "^3.0.28",
"@salesforce/sf-plugins-core": "^8.0.4",
"@salesforce/sf-plugins-core": "^9.0.0",
"@salesforce/ts-types": "^2.0.9",
"chalk": "^5.3.0",
"open": "^10.1.0"
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.1.4",
"@salesforce/cli-plugins-testkit": "^5.1.14",
"@salesforce/dev-scripts": "^8.5.0",
"@salesforce/cli-plugins-testkit": "^5.2.0",
"@salesforce/dev-scripts": "^9.0.0",
"@salesforce/plugin-command-reference": "^3.0.75",
"@salesforce/ts-sinon": "^1.4.19",
"eslint-plugin-sf-plugin": "^1.17.5",
"eslint-plugin-sf-plugin": "^1.18.0",
"oclif": "^4.6.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.4"
Expand Down
2 changes: 1 addition & 1 deletion test/commands/org/list/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/

import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { expect } from 'chai';
import { AuthInfo } from '@salesforce/core';
import { stubUx } from '@salesforce/sf-plugins-core';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/org/login/access-token.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { AuthFields, AuthInfo, StateAggregator } from '@salesforce/core';
import { assert, expect } from 'chai';
import { TestContext } from '@salesforce/core/lib/testSetup.js';
import { TestContext } from '@salesforce/core/testSetup';
import { stubPrompter, stubSfCommandUx } from '@salesforce/sf-plugins-core';
import { env } from '@salesforce/kit';
import Store from '../../../../src/commands/org/login/access-token.js';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/org/login/login.device.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/* eslint-disable camelcase */

import { type AuthFields, AuthInfo, type DeviceCodeResponse, DeviceOauthService } from '@salesforce/core';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { StubbedType, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { expect } from 'chai';
import { SfCommand, stubUx } from '@salesforce/sf-plugins-core';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/org/login/login.jwt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { AuthFields, AuthInfo, SfError } from '@salesforce/core';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { StubbedType, stubInterface } from '@salesforce/ts-sinon';
import { expect } from 'chai';
import { stubUx } from '@salesforce/sf-plugins-core';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/org/login/login.sfdx-url.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import fs from 'node:fs/promises';
import { AuthFields, AuthInfo } from '@salesforce/core';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { expect } from 'chai';
import { StubbedType, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { stubUx } from '@salesforce/sf-plugins-core';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/org/login/login.web.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import { Config } from '@oclif/core';
import { AuthFields, AuthInfo, SfError } from '@salesforce/core';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { StubbedType, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { assert, expect } from 'chai';
import { Env } from '@salesforce/kit';
Expand Down
2 changes: 1 addition & 1 deletion test/commands/org/logout.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { AuthRemover, ConfigContents, Global, Mode, Messages } from '@salesforce/core';
import { MockTestOrgData, TestContext } from '@salesforce/core/lib/testSetup.js';
import { MockTestOrgData, TestContext } from '@salesforce/core/testSetup';
import { expect } from 'chai';
import { stubPrompter, stubUx } from '@salesforce/sf-plugins-core';
import Logout from '../../../src/commands/org/logout.js';
Expand Down
2 changes: 1 addition & 1 deletion test/common.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { ConfigContents, SfdcUrl, Global, Mode } from '@salesforce/core';
import { assert, expect } from 'chai';
import { TestContext, uniqid } from '@salesforce/core/lib/testSetup.js';
import { TestContext, uniqid } from '@salesforce/core/testSetup';
import common from '../src/common.js';

const projectSetup = async ($$: TestContext, inProject = true, contents?: ConfigContents): Promise<void> => {
Expand Down
2 changes: 1 addition & 1 deletion test/hooks/diagnostics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { expect } from 'chai';
import { fromStub, StubbedType, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { SfDoctor } from '@salesforce/plugin-info';
import { Lifecycle, Messages } from '@salesforce/core';
import { TestContext } from '@salesforce/core/lib/testSetup.js';
import { TestContext } from '@salesforce/core/testSetup';
import { hook } from '../../src/hooks/diagnostics.js';

const pluginName = '@salesforce/plugin-auth';
Expand Down
Loading

0 comments on commit f47cc83

Please sign in to comment.