@@ -4,11 +4,7 @@ import {COLORS} from '../../src/functions/colors.js'
44import { deploymentConfirmation } from '../../src/functions/deployment-confirmation.js'
55import { API_HEADERS } from '../../src/functions/api-headers.js'
66
7- const debugMock = vi . spyOn ( core , 'debug' )
8- const infoMock = vi . spyOn ( core , 'info' )
97const warningMock = vi . spyOn ( core , 'warning' )
10- const setFailedMock = vi . spyOn ( core , 'setFailed' )
11- const setOutputMock = vi . spyOn ( core , 'setOutput' )
128
139var context
1410var octokit
@@ -121,7 +117,7 @@ test('successfully prompts for deployment confirmation and gets confirmed by the
121117 'deployment confirmation comment id: 124'
122118 )
123119 expect ( core . info ) . toHaveBeenCalledWith (
124- `🕒 waiting ${ COLORS . highlight } 60${ COLORS . reset } seconds for deployment confirmation`
120+ `⏰ waiting ${ COLORS . highlight } 60${ COLORS . reset } seconds for deployment confirmation`
125121 )
126122 expect ( core . info ) . toHaveBeenCalledWith (
127123 `✅ deployment confirmed by ${ COLORS . highlight } monalisa${ COLORS . reset } - sha: ${ COLORS . highlight } abc123${ COLORS . reset } `
@@ -173,7 +169,7 @@ test('successfully prompts for deployment confirmation and gets confirmed by the
173169 'deployment confirmation comment id: 124'
174170 )
175171 expect ( core . info ) . toHaveBeenCalledWith (
176- `🕒 waiting ${ COLORS . highlight } 60${ COLORS . reset } seconds for deployment confirmation`
172+ `⏰ waiting ${ COLORS . highlight } 60${ COLORS . reset } seconds for deployment confirmation`
177173 )
178174 expect ( core . info ) . toHaveBeenCalledWith (
179175 `✅ deployment confirmed by ${ COLORS . highlight } monalisa${ COLORS . reset } - sha: ${ COLORS . highlight } abc123${ COLORS . reset } `
0 commit comments