Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { resolveKwpRuntimeEnv } from "./kwp.js";
|
||||
|
||||
describe("resolveKwpRuntimeEnv", () => {
|
||||
it("normalizes the KWP pilot tenant id", () => {
|
||||
expect(resolveKwpRuntimeEnv({ KWP_HIVEGRID_TENANT_ID: " tenant-1 " })).toEqual({
|
||||
hiveGridTenantId: "tenant-1",
|
||||
});
|
||||
});
|
||||
|
||||
it("omits an empty KWP pilot tenant id", () => {
|
||||
expect(resolveKwpRuntimeEnv({ KWP_HIVEGRID_TENANT_ID: " " })).toEqual({});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user