Skip to content

Commit 1fdce63

Browse files
committed
faucet: process?.env
1 parent cdb33f1 commit 1fdce63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/faucet/src/faucet.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import { Faucet } from "./faucet";
77
import { TokenConfiguration } from "./tokenmanager";
88

99
function pendingWithoutSimapp(): void {
10-
if (!process.env.SIMAPP47_ENABLED && !process.env.SIMAPP50_ENABLED) {
11-
pending("Set SIMAPP{47,50}_ENABLED to enabled Stargate node-based tests");
10+
if (globalThis.process?.env.SIMAPP47_ENABLED || globalThis.process?.env.SIMAPP50_ENABLED)) {
1211
return;
1312
}
13+
pending("Set SIMAPP{47,50}_ENABLED to enabled Stargate node-based tests");
1414
}
1515

1616
const defaultTokenConfig: TokenConfiguration = {

0 commit comments

Comments
 (0)