Last active
February 6, 2026 13:24
-
-
Save LaurentAerens/aac74c5f9c95d31d2fb1749caec36e12 to your computer and use it in GitHub Desktop.
isValidEnvironment test json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "description": "Tests for custom isValidEnvironment function", | |
| "tests": [ | |
| { | |
| "name": "Dev environment is valid env", | |
| "bicepFile": "pathtoyourbicepfile.bicep", | |
| "functionCall": "isValidEnvironment('dev')", | |
| "expected": "true" | |
| }, | |
| { | |
| "name": "Acc is not a valid env", | |
| "bicepFile": "pathtoyourbicepfile.bicep", | |
| "functionCall": "isValidEnvironment('acc')", | |
| "expected": "false" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment