Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Sep 30, 2022
1 parent 4413a61 commit f6b7f7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/plugins.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe('oclif plugins', () => {

describe('installing a plugin by name', () => {
it('should install the plugin', async () => {
const result = await executor.executeCommand('plugins:install @oclif/plugin-warn-if-update-available')
const result = await executor.executeCommand('plugins:install @oclif/plugin-warn-if-update-available 2>&1')
expect(result.code).to.equal(0)
expect(result.output).to.include('@oclif/plugin-warn-if-update-available... installed v')

Expand All @@ -205,7 +205,7 @@ describe('oclif plugins', () => {

describe('installing a plugin by github url', () => {
after(async () => {
await executor.executeCommand('plugins:uninstall @oclif/plugin-warn-if-update-available')
await executor.executeCommand('plugins:uninstall @oclif/plugin-warn-if-update-available 2>&1')
})

it('should install the plugin', async () => {
Expand All @@ -220,7 +220,7 @@ describe('oclif plugins', () => {

describe('forcefully installing a plugin', () => {
it('should install the plugin', async () => {
const result = await executor.executeCommand('plugins:install @oclif/plugin-warn-if-update-available --force')
const result = await executor.executeCommand('plugins:install @oclif/plugin-warn-if-update-available --force 2>&1')
expect(result.code).to.equal(0)
expect(result.output).to.include('@oclif/plugin-warn-if-update-available... installed v')

Expand All @@ -236,7 +236,7 @@ describe('oclif plugins', () => {
})

it('should uninstall the plugin', async () => {
const result = await executor.executeCommand('plugins:uninstall @oclif/plugin-warn-if-update-available')
const result = await executor.executeCommand('plugins:uninstall @oclif/plugin-warn-if-update-available 2>&1')
expect(result.code).to.equal(0)
expect(result.output).to.include('success Uninstalled packages.Uninstalling @oclif/plugin-warn-if-update-available... done\n')

Expand Down

0 comments on commit f6b7f7d

Please sign in to comment.