snyk / snyk-gradle-plugin

Basic Snyk CLI plugin for Gradle support
Other
25 stars 19 forks source link

test: convert tap to jest #206

Closed magdziarek closed 2 years ago

magdziarek commented 2 years ago

What this does

How should this be manually tested?

Run npm run test-system with Gradle version < 7 and Node version >= 12

More information

Screenshots

These system tests take a while to run - hence added --testTimeout=15000 in package.json

system-tests

Additional questions

Tests in test/system/failure-states.test.ts are testing for Gradle errors, i.e. we are checking what error message Gradle is returning - what does it tell us? Shouldn't we be rather checking how Snyk handles the Gradle error? They fail with Gradle 7.

Should all the commits be squashed into one?

Possible future improvements

snyksec commented 2 years ago

:tada: This PR is included in version 3.18.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: