Skip to content

Commit

Permalink
bump gluegun (#271)
Browse files Browse the repository at this point in the history
update failing tests to use mockContext
  • Loading branch information
makenova authored Jul 14, 2024
1 parent 3f701f7 commit 47470cf
Show file tree
Hide file tree
Showing 4 changed files with 233 additions and 102 deletions.
2 changes: 1 addition & 1 deletion __tests__/command_helpers/checkCLIForUpdates.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import checkCLIForUpdates from '../../src/extensions/functions/checkCLIForUpdates'

import * as context from 'gluegun/toolbox'
const context = require('mockContext')
const rule = {
rule: 'cli',
binary: 'bananas',
Expand Down
2 changes: 1 addition & 1 deletion __tests__/command_helpers/checkRequirement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const checkFile = require('../../src/extensions/functions/checkFile')
jest.mock('../../src/extensions/functions/checkShell')
const checkShell = require('../../src/extensions/functions/checkShell')

const context = require('gluegun/toolbox')
const context = require('mockContext')

const badRule = toPairs({
YARN: [{ rule: 'knope', binary: 'yarn' }],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"dependencies": {
"callsite": "^1.0.0",
"envinfo": "7.5.0",
"gluegun": "^4.6.1",
"gluegun": "^5.1.6",
"json5": "2.1.1",
"listr": "^0.14.3",
"minimist": "^1.2.0",
Expand Down
Loading

0 comments on commit 47470cf

Please sign in to comment.