Skip to content

Commit e050770

Browse files
committed
updating unit test
1 parent ba0ddd7 commit e050770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ test('it sets the updated dependency as an output for subsequent actions', async
109109
targetBranch: 'main',
110110
prevVersion: '4.0.1',
111111
newVersion: '4.2.2',
112-
compatScore: 34,
112+
compatScore: 0,
113113
alertState: '',
114114
ghsaId: '',
115115
cvss: 0
@@ -125,7 +125,7 @@ test('it sets the updated dependency as an output for subsequent actions', async
125125
expect(core.setOutput).toBeCalledWith('target-branch', 'main')
126126
expect(core.setOutput).toBeCalledWith('previous-version', '4.0.1')
127127
expect(core.setOutput).toBeCalledWith('new-version', '4.2.2')
128-
expect(core.setOutput).toBeCalledWith('compatibility-score', 34)
128+
expect(core.setOutput).toBeCalledWith('compatibility-score', 0)
129129
expect(core.setOutput).toBeCalledWith('alert-state', '')
130130
expect(core.setOutput).toBeCalledWith('ghsa-id', '')
131131
expect(core.setOutput).toBeCalledWith('cvss', 0)

0 commit comments

Comments
 (0)