Skip to content

Commit

Permalink
chore: bump plugin-help and plugin-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Dec 11, 2023
1 parent f5f38b9 commit 7e4162c
Show file tree
Hide file tree
Showing 3 changed files with 465 additions and 552 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@oclif/plugin-help": "^5.2.20",
"@oclif/plugin-plugins": "^3.3.0",
"@oclif/plugin-help": "^6",
"@oclif/plugin-plugins": "^4",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.0.3",
"@types/ansi-styles": "^3.2.1",
Expand Down
14 changes: 12 additions & 2 deletions test/command/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,18 @@ describe('main', () => {
})

it('should run plugins', async () => {
const result = await run(['plugins'], resolve(__dirname, '../../package.json'))
expect(result).to.deep.equal([])
const result = (await run(['plugins'], resolve(__dirname, '../../package.json'))) as Array<{
name: string
type: string
}>
expect(result.length).to.equal(3)
const rootPlugin = result.find((r) => r.name === '@oclif/core')
const pluginHelp = result.find((r) => r.name === '@oclif/plugin-help')
const pluginPlugins = result.find((r) => r.name === '@oclif/plugin-plugins')

expect(rootPlugin).to.exist
expect(pluginHelp).to.exist
expect(pluginPlugins).to.exist
})

it('should run version', async () => {
Expand Down
Loading

0 comments on commit 7e4162c

Please sign in to comment.