Skip to content

Commit d5e6df3

Browse files
authored
Merge pull request #442 from github/dependabot/npm_and_yarn/npm-dependencies-8075649c03
Bump the npm-dependencies group with 6 updates
2 parents c405809 + c0aec49 commit d5e6df3

8 files changed

Lines changed: 38883 additions & 35989 deletions

File tree

__tests__/functions/admin.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import {COLORS} from '../../src/functions/colors.js'
44
import * as github from '@actions/github'
55
import * as core from '@actions/core'
66

7+
vi.mock('@actions/github', {spy: true})
8+
79
const debugMock = vi.spyOn(core, 'debug')
810
const warningMock = vi.spyOn(core, 'warning')
911

__tests__/functions/post.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import {COLORS} from '../../src/functions/colors.js'
77
import * as postDeploy from '../../src/functions/post-deploy.js'
88
import * as contextCheck from '../../src/functions/context-check.js'
99

10+
vi.mock('@actions/github', {spy: true})
11+
1012
const validBooleanInputs = {
1113
skip_completing: false
1214
}

__tests__/main.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import * as timestamp from '../src/functions/timestamp.js'
2121
import * as deploymentConfirmation from '../src/functions/deployment-confirmation.js'
2222
import {COLORS} from '../src/functions/colors.js'
2323

24+
vi.mock('@actions/github', {spy: true})
25+
2426
const setOutputMock = vi.spyOn(core, 'setOutput')
2527
const saveStateMock = vi.spyOn(core, 'saveState')
2628
const setFailedMock = vi.spyOn(core, 'setFailed')

0 commit comments

Comments
 (0)