Skip to content

Commit 00b48ea

Browse files
authored
Set the eventName to push in tests
1 parent f74b035 commit 00b48ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/snapshot.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ manifest.addIndirectDependency(cache.package('pkg:npm/%40actions/[email protected]'))
2222
// add bogus git data to the context
2323
context.sha = '1000000000000000000000000000000000000000'
2424
context.ref = 'foo/bar/baz'
25+
context.eventName = 'push'
2526

2627
describe('Snapshot', () => {
2728
it('renders expected JSON', () => {

0 commit comments

Comments
 (0)