From e05077052f6dccf165282f5fc367b57749819984 Mon Sep 17 00:00:00 2001 From: Michael Waddell Date: Mon, 21 Feb 2022 19:36:58 -0600 Subject: [PATCH] updating unit test --- src/main.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.test.ts b/src/main.test.ts index f751731..c863b22 100644 --- a/src/main.test.ts +++ b/src/main.test.ts @@ -109,7 +109,7 @@ test('it sets the updated dependency as an output for subsequent actions', async targetBranch: 'main', prevVersion: '4.0.1', newVersion: '4.2.2', - compatScore: 34, + compatScore: 0, alertState: '', ghsaId: '', cvss: 0 @@ -125,7 +125,7 @@ test('it sets the updated dependency as an output for subsequent actions', async expect(core.setOutput).toBeCalledWith('target-branch', 'main') expect(core.setOutput).toBeCalledWith('previous-version', '4.0.1') expect(core.setOutput).toBeCalledWith('new-version', '4.2.2') - expect(core.setOutput).toBeCalledWith('compatibility-score', 34) + expect(core.setOutput).toBeCalledWith('compatibility-score', 0) expect(core.setOutput).toBeCalledWith('alert-state', '') expect(core.setOutput).toBeCalledWith('ghsa-id', '') expect(core.setOutput).toBeCalledWith('cvss', 0)