Skip to content

Commit

Permalink
chore: update monitor smoke test description
Browse files Browse the repository at this point in the history
  • Loading branch information
JackuB committed Sep 1, 2020
1 parent 324d738 commit 53e40e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/smoke/spec/snyk_monitor_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ Describe "Snyk monitor command"
snyk monitor
}

It "finds vulns in a project in the same folder"
It "monitors a project in the same folder"
When run run_monitor_in_subfolder
The status should be success
The output should include "Explore this snapshot at https://app.snyk.io/org/"
The output should include "Notifications about newly disclosed issues related to these dependencies will be emailed to you."
The stderr should equal ""
End

It "finds vulns in a project when pointing to a folder"
It "monitors a project when pointing to a folder"
When run snyk monitor ../fixtures/basic-npm
The status should be success
The output should include "Explore this snapshot at https://app.snyk.io/org/"
The output should include "Notifications about newly disclosed issues related to these dependencies will be emailed to you."
The stderr should equal ""
End

It "finds vulns in a project when pointing to a file"
It "monitors a project when pointing to a file"
When run snyk monitor --file=../fixtures/basic-npm/package.json
The status should be success
The output should include "Explore this snapshot at https://app.snyk.io/org/"
Expand All @@ -36,7 +36,7 @@ Describe "Snyk monitor command"
End

Describe "monitor npm project with JSON output"
It "outputs a valid JSON with vulns"
It "monitors a project and outputs a valid JSON"
When run snyk monitor ../fixtures/basic-npm --json
The status should be success # issues found
The output should include '"ok": true,'
Expand Down

0 comments on commit 53e40e5

Please sign in to comment.