Skip to content

Commit 4613b5a

Browse files
author
Ivan Duplenskikh
committed
Updated L0s tests FF conditions
1 parent de1f956 commit 4613b5a

File tree

6 files changed

+102
-102
lines changed
  • Tasks
    • AppCenterDistributeV1/Tests
    • AppCenterDistributeV2/Tests
  • _generated
    • AppCenterDistributeV1/Tests
    • AppCenterDistributeV1_Node20/Tests
    • AppCenterDistributeV2/Tests
    • AppCenterDistributeV2_Node20/Tests

6 files changed

+102
-102
lines changed

Tasks/AppCenterDistributeV1/Tests/L0.ts

+18-18
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('AppCenterDistribute L0 Suite', function () {
3939

4040
tr.run();
4141

42-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
42+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
4343
assert(tr.succeeded == false, ("Should failed when FF is on."));
4444
} else {
4545
assert(tr.succeeded, 'task should have succeeded');
@@ -54,7 +54,7 @@ describe('AppCenterDistribute L0 Suite', function () {
5454

5555
tr.run();
5656

57-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
57+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
5858
assert(tr.succeeded == false, ("Should failed when FF is on."));
5959
} else {
6060
assert(tr.failed, 'task should have failed');
@@ -69,7 +69,7 @@ describe('AppCenterDistribute L0 Suite', function () {
6969

7070
tr.run();
7171

72-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
72+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
7373
assert(tr.succeeded == false, ("Should failed when FF is on."));
7474
} else {
7575
assert(tr.succeeded, 'task should have succeeded');
@@ -84,7 +84,7 @@ describe('AppCenterDistribute L0 Suite', function () {
8484

8585
tr.run();
8686

87-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
87+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
8888
assert(tr.succeeded == false, ("Should failed when FF is on."));
8989
} else {
9090
assert(tr.failed, 'task should have failed');
@@ -99,7 +99,7 @@ describe('AppCenterDistribute L0 Suite', function () {
9999

100100
tr.run();
101101

102-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
102+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
103103
assert(tr.succeeded == false, ("Should failed when FF is on."));
104104
} else {
105105
assert(tr.succeeded, 'task should have succeeded');
@@ -114,7 +114,7 @@ describe('AppCenterDistribute L0 Suite', function () {
114114

115115
tr.run();
116116

117-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
117+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
118118
assert(tr.succeeded == false, ("Should failed when FF is on."));
119119
} else {
120120
assert(tr.failed, 'task should have failed');
@@ -129,7 +129,7 @@ describe('AppCenterDistribute L0 Suite', function () {
129129

130130
tr.run();
131131

132-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
132+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
133133
assert(tr.succeeded == false, ("Should failed when FF is on."));
134134
} else {
135135
assert(tr.succeeded, 'task should have succeeded');
@@ -144,7 +144,7 @@ describe('AppCenterDistribute L0 Suite', function () {
144144

145145
tr.run();
146146

147-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
147+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
148148
assert(tr.succeeded == false, ("Should failed when FF is on."));
149149
} else {
150150
assert(tr.succeeded, 'task should have succeeded');
@@ -159,7 +159,7 @@ describe('AppCenterDistribute L0 Suite', function () {
159159

160160
tr.run();
161161

162-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
162+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
163163
assert(tr.succeeded == false, ("Should failed when FF is on."));
164164
} else {
165165
assert(tr.succeeded, 'task should have succeeded');
@@ -174,7 +174,7 @@ describe('AppCenterDistribute L0 Suite', function () {
174174

175175
tr.run();
176176

177-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
177+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
178178
assert(tr.succeeded == false, ("Should failed when FF is on."));
179179
} else {
180180
assert(tr.succeeded, 'task should have succeeded');
@@ -189,7 +189,7 @@ describe('AppCenterDistribute L0 Suite', function () {
189189

190190
tr.run();
191191

192-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
192+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
193193
assert(tr.succeeded == false, ("Should failed when FF is on."));
194194
} else {
195195
assert(tr.succeeded, 'task should have succeeded');
@@ -204,7 +204,7 @@ describe('AppCenterDistribute L0 Suite', function () {
204204

205205
tr.run();
206206

207-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
207+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
208208
assert(tr.succeeded == false, ("Should failed when FF is on."));
209209
} else {
210210
assert(tr.succeeded, 'task should have succeeded');
@@ -220,7 +220,7 @@ describe('AppCenterDistribute L0 Suite', function () {
220220

221221
tr.run();
222222

223-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
223+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
224224
assert(tr.succeeded == false, ("Should failed when FF is on."));
225225
} else {
226226
assert(tr.succeeded, 'task should have succeeded');
@@ -235,7 +235,7 @@ describe('AppCenterDistribute L0 Suite', function () {
235235

236236
tr.run();
237237

238-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
238+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
239239
assert(tr.succeeded == false, ("Should failed when FF is on."));
240240
} else {
241241
assert(tr.succeeded, 'task should have succeeded');
@@ -250,7 +250,7 @@ describe('AppCenterDistribute L0 Suite', function () {
250250

251251
tr.run();
252252

253-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
253+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
254254
assert(tr.succeeded == false, ("Should failed when FF is on."));
255255
} else {
256256
assert(tr.succeeded, 'task should have succeeded');
@@ -265,7 +265,7 @@ describe('AppCenterDistribute L0 Suite', function () {
265265

266266
tr.run();
267267

268-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
268+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
269269
assert(tr.succeeded == false, ("Should failed when FF is on."));
270270
} else {
271271
assert(tr.succeeded, 'task should have succeeded');
@@ -280,7 +280,7 @@ describe('AppCenterDistribute L0 Suite', function () {
280280

281281
tr.run();
282282

283-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
283+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
284284
assert(tr.succeeded == false, ("Should failed when FF is on."));
285285
} else {
286286
assert(tr.succeeded, 'task should have succeeded');
@@ -295,7 +295,7 @@ describe('AppCenterDistribute L0 Suite', function () {
295295

296296
tr.run();
297297

298-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
298+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
299299
assert(tr.succeeded == false, ("Should failed when FF is on."));
300300
} else {
301301
assert(tr.succeeded, 'task should have succeeded');

Tasks/AppCenterDistributeV2/Tests/L0.ts

+16-16
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('AppCenterDistribute L0 Suite', function () {
3737
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
3838
tr.run();
3939

40-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
40+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
4141
assert(tr.succeeded == false, ("Should failed when FF is on."));
4242
} else {
4343
assert(tr.succeeded, 'task should have succeeded');
@@ -66,7 +66,7 @@ describe('AppCenterDistribute L0 Suite', function () {
6666
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
6767
tr.run();
6868

69-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
69+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
7070
assert(tr.succeeded == false, ("Should failed when FF is on."));
7171
} else {
7272
assert(tr.succeeded, 'task should have succeeded');
@@ -79,7 +79,7 @@ describe('AppCenterDistribute L0 Suite', function () {
7979
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
8080
tr.run();
8181

82-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
82+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
8383
assert(tr.succeeded == false, ("Should failed when FF is on."));
8484
} else {
8585
assert(tr.succeeded, 'task should have succeeded');
@@ -100,7 +100,7 @@ describe('AppCenterDistribute L0 Suite', function () {
100100
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
101101
tr.run();
102102

103-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
103+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
104104
assert(tr.succeeded == false, ("Should failed when FF is on."));
105105
} else {
106106
assert(tr.succeeded, 'task should have succeeded');
@@ -113,7 +113,7 @@ describe('AppCenterDistribute L0 Suite', function () {
113113
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
114114
tr.run();
115115

116-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
116+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
117117
assert(tr.succeeded == false, ("Should failed when FF is on."));
118118
} else {
119119
assert(tr.succeeded, 'task should have succeeded');
@@ -126,7 +126,7 @@ describe('AppCenterDistribute L0 Suite', function () {
126126
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
127127
tr.run();
128128

129-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
129+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
130130
assert(tr.succeeded == false, ("Should failed when FF is on."));
131131
} else {
132132
assert(tr.succeeded, 'task should have succeeded');
@@ -139,7 +139,7 @@ describe('AppCenterDistribute L0 Suite', function () {
139139
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
140140
tr.run();
141141

142-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
142+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
143143
assert(tr.succeeded == false, ("Should failed when FF is on."));
144144
} else {
145145
assert(tr.succeeded, 'task should have succeeded');
@@ -152,7 +152,7 @@ describe('AppCenterDistribute L0 Suite', function () {
152152
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
153153
tr.run();
154154

155-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
155+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
156156
assert(tr.succeeded == false, ("Should failed when FF is on."));
157157
} else {
158158
assert(tr.succeeded, 'task should have succeeded');
@@ -165,7 +165,7 @@ describe('AppCenterDistribute L0 Suite', function () {
165165
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
166166
tr.run();
167167

168-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
168+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
169169
assert(tr.succeeded == false, ("Should failed when FF is on."));
170170
} else {
171171
assert(tr.succeeded, 'task should have succeeded');
@@ -178,7 +178,7 @@ describe('AppCenterDistribute L0 Suite', function () {
178178
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
179179
tr.run();
180180

181-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
181+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
182182
assert(tr.succeeded == false, ("Should failed when FF is on."));
183183
} else {
184184
assert(tr.succeeded, 'task should have succeeded');
@@ -191,7 +191,7 @@ describe('AppCenterDistribute L0 Suite', function () {
191191
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
192192
tr.run();
193193

194-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
194+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
195195
assert(tr.succeeded == false, ("Should failed when FF is on."));
196196
} else {
197197
assert(tr.succeeded, 'task should have succeeded');
@@ -204,7 +204,7 @@ describe('AppCenterDistribute L0 Suite', function () {
204204
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
205205
tr.run();
206206

207-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
207+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
208208
assert(tr.succeeded == false, ("Should failed when FF is on."));
209209
} else {
210210
assert(tr.succeeded, 'task should have succeeded');
@@ -217,7 +217,7 @@ describe('AppCenterDistribute L0 Suite', function () {
217217
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
218218
tr.run();
219219

220-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
220+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
221221
assert(tr.succeeded == false, ("Should failed when FF is on."));
222222
} else {
223223
assert(tr.succeeded, 'task should have succeeded');
@@ -230,7 +230,7 @@ describe('AppCenterDistribute L0 Suite', function () {
230230
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
231231
tr.run();
232232

233-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
233+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
234234
assert(tr.succeeded == false, ("Should failed when FF is on."));
235235
} else {
236236
assert(tr.succeeded, 'task should have succeeded');
@@ -243,7 +243,7 @@ describe('AppCenterDistribute L0 Suite', function () {
243243
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
244244
tr.run();
245245

246-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
246+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
247247
assert(tr.succeeded == false, ("Should failed when FF is on."));
248248
} else {
249249
assert(tr.succeeded, 'task should have succeeded');
@@ -256,7 +256,7 @@ describe('AppCenterDistribute L0 Suite', function () {
256256
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
257257
tr.run();
258258

259-
if (Boolean(getEnvVariable('FAIL_DEPRECATED_BUILD_TASK'))) {
259+
if (getEnvVariable('FAIL_DEPRECATED_BUILD_TASK') == "true") {
260260
assert(tr.succeeded == false, ("Should failed when FF is on."));
261261
} else {
262262
assert(tr.succeeded, 'task should have succeeded');

0 commit comments

Comments
 (0)