Skip to content

Commit 927d019

Browse files
committed
test: add --json flag
1 parent 9d633bf commit 927d019

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

test/nut/scratchCreate.nut.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe('env create scratch NUTs', () => {
9090
);
9191

9292
const jsonOutput = execCmd<ScratchCreateResponse>(
93-
'org create scratch -d -f config/project-scratch-def-1.json -a dreamhouse --duration-days 1',
93+
'org create scratch -d -f config/project-scratch-def-1.json -a dreamhouse --duration-days 1 --json',
9494
{
9595
ensureExitCode: 0,
9696
}
@@ -137,7 +137,7 @@ describe('env create scratch NUTs', () => {
137137
);
138138

139139
const jsonOutput = execCmd<ScratchCreateResponse>(
140-
'org create scratch -d -f config/project-scratch-def-1.json -a dreamhouse --duration-days 1',
140+
'org create scratch -d -f config/project-scratch-def-1.json -a dreamhouse --duration-days 1 --json',
141141
{
142142
ensureExitCode: 0,
143143
}

yarn.lock

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -996,31 +996,7 @@
996996
strip-ansi "6.0.1"
997997
ts-retry-promise "^0.8.0"
998998

999-
"@salesforce/core@^6.4.1", "@salesforce/core@^6.4.4", "@salesforce/core@^6.4.7":
1000-
version "6.4.7"
1001-
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.7.tgz#f15538380aa5c75de697d3c95a2ddbdabae69dbb"
1002-
integrity sha512-gebjw2xC8Z0gqS3lYRQWz7J+PuGZtybotrnnaJbnzzxdfpBFIp6PjW4nt/235BQW9UWFTLaQh+AwkFgmMTTSkA==
1003-
dependencies:
1004-
"@salesforce/kit" "^3.0.15"
1005-
"@salesforce/schemas" "^1.6.1"
1006-
"@salesforce/ts-types" "^2.0.9"
1007-
"@types/semver" "^7.5.6"
1008-
ajv "^8.12.0"
1009-
change-case "^4.1.2"
1010-
faye "^1.4.0"
1011-
form-data "^4.0.0"
1012-
js2xmlparser "^4.0.1"
1013-
jsforce "^2.0.0-beta.29"
1014-
jsonwebtoken "9.0.2"
1015-
jszip "3.10.1"
1016-
pino "^8.17.2"
1017-
pino-abstract-transport "^1.1.0"
1018-
pino-pretty "^10.3.1"
1019-
proper-lockfile "^4.1.2"
1020-
semver "^7.5.4"
1021-
ts-retry-promise "^0.7.1"
1022-
1023-
"@salesforce/core@^6.5.0":
999+
"@salesforce/core@^6.4.1", "@salesforce/core@^6.4.7", "@salesforce/core@^6.5.0":
10241000
version "6.5.0"
10251001
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.5.0.tgz#a59666270ee3e135520a29d83211685d56443070"
10261002
integrity sha512-6IwPSvqglX4nUQuIvU5wBX64XS+JxRbxtGLEom/MoAD9QwNXmtU/ZGD/iOvvqV30BL7hzX/xVlJX+cGHsiYg5A==

0 commit comments

Comments
 (0)