From 646d68a086fcaa6245ed2b74827666514a61af0c Mon Sep 17 00:00:00 2001 From: Shai Mendel Date: Wed, 23 Sep 2020 17:11:10 +0300 Subject: [PATCH 1/2] feat: add sles scanning support --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index caa9794bc4..3d714f95cb 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "semver": "^6.0.0", "snyk-config": "3.1.1", "snyk-cpp-plugin": "1.5.0", - "snyk-docker-plugin": "3.21.0", + "snyk-docker-plugin": "3.23.0", "snyk-go-plugin": "1.16.2", "snyk-gradle-plugin": "3.6.3", "snyk-module": "3.1.0", From 21a503d925cea6196c5279e262ba1922175f7465 Mon Sep 17 00:00:00 2001 From: Shai Mendel Date: Wed, 23 Sep 2020 18:53:33 +0300 Subject: [PATCH 2/2] test: compare sorted arrays --- test/dev-count-analysis.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/dev-count-analysis.spec.ts b/test/dev-count-analysis.spec.ts index 0c902b7576..f50fc08ab5 100644 --- a/test/dev-count-analysis.spec.ts +++ b/test/dev-count-analysis.spec.ts @@ -46,7 +46,9 @@ describe('cli dev count via git log analysis', () => { '044c9c2a86c6e6780a9b64d245bb1e69735ea8b8', '0768695f32a8bd41b0eff550eae32013733fde2c', ]; - expect(contributorUserIds).toEqual(expectedContributorUserIds); + expect(contributorUserIds.sort()).toEqual( + expectedContributorUserIds.sort(), + ); }); // This test proves that we don't pick up any commit author emails which are only found in merge commits.