This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: rename command also: * drops support for node 14 * stop shipping source map and typedef files. * add flag labels
- Loading branch information
1 parent
58ab226
commit 11387c2
Showing
6 changed files
with
13 additions
and
36 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
/* | ||
* Copyright (c) 2021, salesforce.com, inc. | ||
* All rights reserved. | ||
* Licensed under the BSD 3-Clause license. | ||
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause | ||
*/ | ||
|
||
export = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ import { SfError } from '@salesforce/core'; | |
import { expect } from 'chai'; | ||
import stripAnsi = require('strip-ansi'); | ||
import { stdout } from '@oclif/core'; | ||
import EnvApi from '../../../src/commands/env/api'; | ||
import { OrgApi }from '../../../src/commands/org/api'; | ||
|
||
describe('env api', () => { | ||
describe('org api', () => { | ||
const $$ = new TestContext(); | ||
const testOrg = new MockTestOrgData('1234', { | ||
username: '[email protected]', | ||
|
@@ -35,7 +35,7 @@ describe('env api', () => { | |
.get('/services/data/v56.0/limits') | ||
.reply(200, orgLimitsResponse); | ||
|
||
await EnvApi.run([ | ||
await OrgApi.run([ | ||
'services/data/v56.0/limits', | ||
'--target-org', | ||
'[email protected]', | ||
|
@@ -63,7 +63,7 @@ describe('env api', () => { | |
.get('/services/data') | ||
.reply(200, xmlRes); | ||
|
||
await EnvApi.run([ | ||
await OrgApi.run([ | ||
'services/data', | ||
'--header', | ||
'Accept: application/xml', | ||
|
@@ -79,7 +79,7 @@ describe('env api', () => { | |
|
||
it('should validate HTTP headers are in a "key:value" format', async () => { | ||
try { | ||
await EnvApi.run([ | ||
await OrgApi.run([ | ||
'services/data', | ||
'--header', | ||
'Accept application/xml', | ||
|