Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Add missing positionals in tests and update snapshots #25

Merged
merged 1 commit into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,28 @@ exports[`ims query program should display the query program help 1`] = `

The name of a (ims) profile to load for this command execution.

--base-profile | --base-p (string)

The name of a (base) profile to load for this command execution.

BASE CONNECTION OPTIONS
-----------------------

--reject-unauthorized | --ru (boolean)

Reject self-signed certificates.

Default value: true

--token-type | --tt (string)

The type of token to get and use for the API. Omit this option to use the
default token type, which is provided by 'zowe auth login'.

--token-value | --tv (string)

The value of the token to pass to the API.

RESPONSE FORMAT OPTIONS
-----------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,28 @@ exports[`ims query region should display the query region help 1`] = `

The name of a (ims) profile to load for this command execution.

--base-profile | --base-p (string)

The name of a (base) profile to load for this command execution.

BASE CONNECTION OPTIONS
-----------------------

--reject-unauthorized | --ru (boolean)

Reject self-signed certificates.

Default value: true

--token-type | --tt (string)

The type of token to get and use for the API. Omit this option to use the
default token type, which is provided by 'zowe auth login'.

--token-value | --tv (string)

The value of the token to pass to the API.

RESPONSE FORMAT OPTIONS
-----------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,28 @@ exports[`ims query transaction should display the help 1`] = `

The name of a (ims) profile to load for this command execution.

--base-profile | --base-p (string)

The name of a (base) profile to load for this command execution.

BASE CONNECTION OPTIONS
-----------------------

--reject-unauthorized | --ru (boolean)

Reject self-signed certificates.

Default value: true

--token-type | --tt (string)

The type of token to get and use for the API. Omit this option to use the
default token type, which is provided by 'zowe auth login'.

--token-value | --tv (string)

The value of the token to pass to the API.

RESPONSE FORMAT OPTIONS
-----------------------

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions __tests__/cli/query/program/Program.handler.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
1 change: 1 addition & 0 deletions __tests__/cli/query/region/Region.handler.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
1 change: 1 addition & 0 deletions __tests__/cli/start/program/Program.handler.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
1 change: 1 addition & 0 deletions __tests__/cli/start/region/Region.handler.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
1 change: 1 addition & 0 deletions __tests__/cli/stop/program/Program.handler.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
1 change: 1 addition & 0 deletions __tests__/cli/stop/region/Region.handler.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
1 change: 1 addition & 0 deletions __tests__/cli/update/program/Program.handler.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PROFILE_MAP.set(
const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP);
const DEFAULT_PARAMETERS: IHandlerParameters = {
arguments: {$0: "", _: []}, // Please provide arguments later on
positionals: [],
response: {
data: {
setMessage: jest.fn((setMsgArgs) => {
Expand Down