Should -Not -Throw is not migrated at this point. You can replace it with invoking the scriptblock, as any exception will fail the test by default. There's was a few comments about it in this issue but we should update our migration docs.
Originally posted by @fflaten in pester/Pester#2847 (comment)
Also, the should-migration skill mentions it, but is missing an invocation operator.
Originally posted by @fflaten in pester/Pester#2847 (comment)
Also, the should-migration skill mentions it, but is missing an invocation operator.