Skip to content

Commit

Permalink
chore: updates from devScripts (#996)
Browse files Browse the repository at this point in the history
Co-authored-by: mshanemc <[email protected]>
  • Loading branch information
svc-cli-bot and mshanemc authored Apr 8, 2024
1 parent 89dc9d0 commit c98ef87
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 225 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"@inquirer/select": "^1.3.3",
"@oclif/core": "^3.26.0",
"@salesforce/core": "^6.7.6",
"@salesforce/plugin-info": "^3.0.28",
"@salesforce/kit": "^3.1.0",
"@salesforce/plugin-info": "^3.0.28",
"@salesforce/sf-plugins-core": "^8.0.1",
"@salesforce/ts-types": "^2.0.9",
"chalk": "^5.3.0",
Expand All @@ -19,7 +19,7 @@
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.1.2",
"@salesforce/cli-plugins-testkit": "^5.1.12",
"@salesforce/dev-scripts": "^8.4.3",
"@salesforce/dev-scripts": "^8.5.0",
"@salesforce/plugin-command-reference": "^3.0.75",
"@salesforce/ts-sinon": "^1.4.19",
"eslint-plugin-sf-plugin": "^1.17.5",
Expand Down
4 changes: 2 additions & 2 deletions test/commands/org/login/login.device.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import { DeviceCodeResponse } from '@salesforce/core/lib/deviceOauthService.js';
import { expect } from 'chai';
import { SfCommand, stubUx } from '@salesforce/sf-plugins-core';
import Login from '../../../../src/commands/org/login/device.js';
interface Options {
type Options = {
approvalTimesout?: boolean;
approvalFails?: boolean;
}
};

describe('org:login:device', () => {
const $$ = new TestContext();
Expand Down
4 changes: 2 additions & 2 deletions test/commands/org/login/login.jwt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import { expect } from 'chai';
import { stubUx } from '@salesforce/sf-plugins-core';
import LoginJwt from '../../../../src/commands/org/login/jwt.js';

interface Options {
type Options = {
authInfoCreateFails?: boolean;
existingAuth?: boolean;
}
};

describe('org:login:jwt', () => {
const $$ = new TestContext();
Expand Down
4 changes: 2 additions & 2 deletions test/commands/org/login/login.sfdx-url.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import { StubbedType, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { stubUx } from '@salesforce/sf-plugins-core';
import LoginSfdxUrl from '../../../../src/commands/org/login/sfdx-url.js';

interface Options {
type Options = {
authInfoCreateFails?: boolean;
existingAuth?: boolean;
fileDoesNotExist?: boolean;
}
};

describe('org:login:sfdx-url', () => {
const $$ = new TestContext();
Expand Down
4 changes: 2 additions & 2 deletions test/commands/org/logout.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Logout from '../../../src/commands/org/logout.js';
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
const messages = Messages.loadMessages('@salesforce/plugin-auth', 'logout');

interface Options {
type Options = {
authFiles?: string[];
'target-org'?: string;
'target-dev-hub'?: string;
Expand All @@ -23,7 +23,7 @@ interface Options {
};
authInfoConfigFails?: boolean;
authInfoConfigDoesNotExist?: boolean;
}
};

describe('org:logout', () => {
const $$ = new TestContext();
Expand Down
Loading

0 comments on commit c98ef87

Please sign in to comment.