Skip to content

Commit

Permalink
fix: update README and fix test output
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Aug 19, 2022
1 parent 1b0a73c commit ad00150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# plugin-packaging;

> :warning: **This module is under heavy development, please do not use in production.**
> :warning: **This plugin is currently in beta. We appreciate any feedback via https://github.com/forcedotcom/cli/issues**
[![NPM](https://img.shields.io/npm/v/@salesforce/plugin-packaging.svg?label=@salesforce/plugin-packaging)](https://www.npmjs.com/package/@salesforce/plugin-packaging) [![CircleCI](https://circleci.com/gh/salesforcecli/plugin-packaging/tree/main.svg?style=shield)](https://circleci.com/gh/salesforcecli/plugin-packaging/tree/main) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-packaging.svg)](https://npmjs.org/package/@salesforce/plugin-packaging) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/plugin-packaging/main/LICENSE.txt)

## This plugin provides the sfdx cli commands that support Salesforce Packaging Platform

## Learn about the plugin-packaging

## Install

```bash
Expand Down
8 changes: 2 additions & 6 deletions test/commands/force/package/versionReport.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { fromStub, stubInterface, stubMethod } from '@salesforce/ts-sinon';
import { Config } from '@oclif/core';
import { expect } from 'chai';
import { PackageVersion, PackageVersionReportResult } from '@salesforce/packaging';
import { Result } from '@salesforce/command';
import { beforeEach } from 'mocha';
import {
PackageVersionReportCommand,
Expand Down Expand Up @@ -115,14 +114,11 @@ const pkgVersionReportResult: PackageVersionReportResult = {

class TestCommand extends PackageVersionReportCommand {
public async runIt() {
this.result = new Result(this.statics.result);
await this.init();
uxLogStub = stubMethod($$.SANDBOX, this.ux, 'log');
uxTableStub = stubMethod($$.SANDBOX, this.ux, 'table');
uxStyledHeaderStub = stubMethod($$.SANDBOX, this.ux, 'styledHeader');
this.result.data = await this.run();
await this.finally(undefined);
return this.result.data;
return this.run();
}
public setHubOrg(org: Org) {
this.hubOrg = org;
Expand All @@ -143,7 +139,7 @@ const runCmd = async (params: string[]) => {
return cmd.runIt();
};

describe('force:package:install:report', () => {
describe('force:package:version:report', () => {
afterEach(() => {
$$.SANDBOX.restore();
});
Expand Down

0 comments on commit ad00150

Please sign in to comment.