Initial implementation #3
ci.yml
on: pull_request
Build
18s
Lint
17s
Prettier
11s
Test
14s
Type Check
16s
Are the types wrong?
25s
Annotations
3 errors
src/bin/help.test.ts > logHelpText > logs help text when called:
src/bin/help.test.ts#L27
Error: Snapshot `logHelpText > logs help text when called 1` mismatched
- Expected
+ Received
@@ -8,52 +8,28 @@
[
"Core options:",
],
[
"
- -l | --appLocation (string): The location of the app, and the directory where the settings file will be generated eg ../OurFunctionApp/",
- ],
- [
- "
-h | --help: Show help",
],
[
"
- -k | --keyVaultName (string): [explicit]: Allows users to supply an explicit key vault name - if not supplied when in resource group mode, the key vault name will be inferred from the branch resources - required if mode is explicit",
- ],
- [
- "
- -m | --mode (string): explicit | resourcegroup - whether to pass explicit resource names, or look for resources in the resource group matching the branch name",
- ],
- [
- "
- -n | --name (string): The name of the explicit Azure resource eg ourapp (the type of resource is determined by the type option) - required if mode is explicit",
+ -v | --version: Show version",
+ ],
+ [],
+ [
+ " ",
+ ],
+ [
+ "Optional options:",
],
[
"
- -r | --resourceGroupName (string): [resourcegroup]: The name of the resource group where the resources are located",
- ],
- [
- "
- -s | --subscriptionName (string): The name of the subscription where the resources are located",
- ],
- [
- "
- -t | --type (string): The type of resource to generate settings for - either functionapp or containerapp",
+ -c | --config (string): The location of the .npmrc file. Defaults to current directory",
],
[
"
- -v | --version: Show version",
- ],
- [],
- [
- " ",
- ],
- [
- "Optional options:",
- ],
- [
- "
- -b | --branchName (string): [resourcegroup]: Allows users to supply an explicit branch name - if not supplied, the current branch will be used",
+ -e | --email (string): Allows users to supply an explicit email - if not supplied, will be inferred from git user.config",
],
[],
]
❯ src/bin/help.test.ts:27:37
|
Test
Process completed with exit code 1.
|
Lint
Process completed with exit code 2.
|