|
1 | 1 | import {runCommand} from '@oclif/test' |
2 | 2 | import {dim} from 'ansis' |
3 | 3 | import {expect} from 'chai' |
4 | | -import * as fs from 'node:fs'; |
5 | 4 | import {rm} from 'node:fs/promises' |
6 | 5 | import {dirname, join, resolve} from 'node:path' |
7 | 6 | import {fileURLToPath} from 'node:url' |
@@ -209,7 +208,6 @@ describe('install/uninstall integration tests', () => { |
209 | 208 | // Install a third plugin by a local tarball. This one is alphabetically after the second one. |
210 | 209 | await runCommand(`plugins install "file://${pluginLocalTarball}`) |
211 | 210 | const {result: thirdResult, stdout: thirdStdout} = await runCommand<Array<{name: string}>>('plugins') |
212 | | - console.log(fs.readFileSync(join('~', '.local', 'share', 'sf', 'package.json'))) |
213 | 211 | expect(thirdStdout).to.contain(pluginShortName) |
214 | 212 | expect(thirdResult?.some((r) => r.name === otherPlugin)).to.be.true |
215 | 213 | expect(thirdResult?.some((r) => r.name === yetAnotherPlugin)).to.be.true |
@@ -263,7 +261,6 @@ describe('install/uninstall integration tests', () => { |
263 | 261 | await runCommand('plugins install @oclif/plugin-legacy') |
264 | 262 | await runCommand('plugins install @heroku-cli/plugin-ps-exec --silent') |
265 | 263 | const {result, stdout} = await runCommand<Array<{name: string}>>('plugins') |
266 | | - console.log(fs.readFileSync(join('~', '.local', 'share', 'sf', 'package.json'))) |
267 | 264 | console.log(`stdout is ${stdout}`) |
268 | 265 | expect(stdout).to.contain('@heroku-cli/plugin-ps-exec') |
269 | 266 | expect(result?.some((r) => r.name === '@heroku-cli/plugin-ps-exec')).to.be.true |
|
0 commit comments