mirror of https://github.com/openclaw/openclaw.git
tests: isolate node-host gateway env
This commit is contained in:
parent
6406cb2b45
commit
b1fcfba868
|
|
@ -76,6 +76,7 @@ describe("resolveNodeHostGatewayCredentials", () => {
|
|||
await withEnvAsync(
|
||||
{
|
||||
OPENCLAW_GATEWAY_TOKEN: undefined,
|
||||
OPENCLAW_GATEWAY_PASSWORD: undefined,
|
||||
REMOTE_GATEWAY_TOKEN: "token-from-ref",
|
||||
},
|
||||
async () => {
|
||||
|
|
@ -91,6 +92,7 @@ describe("resolveNodeHostGatewayCredentials", () => {
|
|||
await withEnvAsync(
|
||||
{
|
||||
OPENCLAW_GATEWAY_TOKEN: "token-from-env",
|
||||
OPENCLAW_GATEWAY_PASSWORD: undefined,
|
||||
REMOTE_GATEWAY_TOKEN: "token-from-ref",
|
||||
},
|
||||
async () => {
|
||||
|
|
@ -106,6 +108,7 @@ describe("resolveNodeHostGatewayCredentials", () => {
|
|||
await withEnvAsync(
|
||||
{
|
||||
OPENCLAW_GATEWAY_TOKEN: undefined,
|
||||
OPENCLAW_GATEWAY_PASSWORD: undefined,
|
||||
MISSING_REMOTE_GATEWAY_TOKEN: undefined,
|
||||
},
|
||||
async () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue