Skip to content

Commit 722f2a8

Browse files
committed
Remove invalid tests
Signed-off-by: Luis Mastrangelo <[email protected]>
1 parent f3b45a9 commit 722f2a8

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

packages/relay/tests/lib/utils.spec.ts

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -157,34 +157,6 @@ describe('Utils', () => {
157157
},
158158
);
159159
});
160-
161-
withOverriddenEnvsInMochaTest(
162-
{
163-
OPERATOR_ID_MAIN: accountId,
164-
OPERATOR_KEY_MAIN: null,
165-
},
166-
() => {
167-
it('should throw error if OPERATOR_KEY_MAIN is missing', () => {
168-
expect(() => Utils.getOperator(logger)).to.throw(
169-
'Configuration error: OPERATOR_KEY_MAIN is a mandatory configuration for relay operation.',
170-
);
171-
});
172-
},
173-
);
174-
175-
withOverriddenEnvsInMochaTest(
176-
{
177-
OPERATOR_ID_MAIN: null,
178-
OPERATOR_KEY_MAIN: privateKeys[0].keyValue,
179-
},
180-
() => {
181-
it('should throw error if OPERATOR_ID_MAIN is missing', () => {
182-
expect(() => Utils.getOperator(logger)).to.throw(
183-
'Configuration error: OPERATOR_ID_MAIN is a mandatory configuration for relay operation.',
184-
);
185-
});
186-
},
187-
);
188160
});
189161

190162
describe('getNetworkNameByChainId', () => {

0 commit comments

Comments
 (0)