-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use FormattedPath [TFCSCM-124] #3509
Conversation
Need to figure out how to generate https://github.com/snyk/snyk/blob/6f4b755b5d78b095a04a9c3fb0d57994ac6af8df/test/jest/unit/iac/process-results/fixtures/snyk-iac-test-results.json. @YairZ101 Do you have any instructions for this? |
No, when I generated this fixture I simply took several files from our goof repo, moved them to a new dir, and scanned the dir. |
@YairZ101 I think documenting it would be good, even if it's just a comment at the top of this file. I assume you ran |
I personally used the TS CLI using debug mode but you can also use |
hey @teodora-sandu , I found the files that Yair used from a different repo.
The json tests will not pass of course only with this commit.
Now the tests should pass. (they do 🎉 ) However, have a look again the |
a3169a9
to
68ed18c
Compare
68ed18c
to
2ebfb71
Compare
What does this PR do?
This removes the
formattedPath
function and instead uses theFormattedPath
field returned bysnyk-iac-test
. It also updates the version ofsnyk-iac-test
to https://github.com/snyk/snyk-iac-test/releases/tag/v0.14.0.Any background context you want to provide?
It contains loads of good fixes.
What are the relevant tickets?
Screenshots