From 6cd332da72e5ca914055a9e94663e632d5ee1753 Mon Sep 17 00:00:00 2001 From: AZMCode Date: Wed, 5 Aug 2020 16:04:52 -0400 Subject: [PATCH] Fixed tests failing Signed-off-by: AZMCode --- src/__mocks__/cross-spawn.js | 3 ++- src/pkgInfo.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/__mocks__/cross-spawn.js b/src/__mocks__/cross-spawn.js index 4fa7811..d82ee19 100644 --- a/src/__mocks__/cross-spawn.js +++ b/src/__mocks__/cross-spawn.js @@ -3,7 +3,8 @@ const out = {spawn: jest.fn((args)=>( { stdout: new stream.Readable({}), stderr: new stream.Readable({read:()=>{}}), - stdin: new stream.Writable({write:()=>{}}) + stdin: new stream.Writable({write:()=>{}}), + kill: ()=>{} } ))} out.status = status diff --git a/src/pkgInfo.json b/src/pkgInfo.json index b933fba..4d5b5d6 100644 --- a/src/pkgInfo.json +++ b/src/pkgInfo.json @@ -1,6 +1,6 @@ { "name": "git-credential-bw", - "version": "0.1.0", + "version": "1.0.1", "description": "Git Credential Helper for Bitwarden CLI", "main": "dist/main.js", "repository": "git@github.com:AZMCode/git-credential-bw.git",