We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d389c commit f855465Copy full SHA for f855465
packages/relay/tests/lib/utils.spec.ts
@@ -120,6 +120,19 @@ describe('Utils', () => {
120
{ keyFormat: 'DER', keyValue: PrivateKey.generateED25519().toStringDer() },
121
];
122
123
+ withOverriddenEnvsInMochaTest(
124
+ {
125
+ OPERATOR_ID_MAIN: false,
126
+ OPERATOR_KEY_MAIN: false,
127
+ },
128
+ () => {
129
+ it('should return null for invalid operator id or key', () => {
130
+ const operator = Utils.getOperator(logger);
131
+ expect(operator).to.be.null;
132
+ });
133
134
+ );
135
+
136
privateKeys.forEach(({ keyFormat, keyValue }) => {
137
withOverriddenEnvsInMochaTest(
138
{
0 commit comments