Skip to content
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

test: simplify tests by using assert.rejects #27123

Closed
wants to merge 2 commits into from

Commits on Apr 7, 2019

  1. test: simplify vm-module-errors test

    Use `assert.rejects` to test error cases. This simplifies the test.
    BridgeAR committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    14b4091 View commit details
    Browse the repository at this point in the history
  2. test: use assert.rejects

    This verifies that the test actually rejects at this point by using
    `assert.rejects` instead of `try / catch`.
    BridgeAR committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    d1f55ed View commit details
    Browse the repository at this point in the history