feat(workbench): refine operational interface
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { getFeaturePanelModel, getFeaturePanelProperties, getLocalizedFeatureProperties } from "./feature-properties";
|
||||
import { formatFeaturePropertyValue, getFeaturePanelModel, getFeaturePanelProperties, getLocalizedFeatureProperties } from "./feature-properties";
|
||||
|
||||
describe("feature panel properties", () => {
|
||||
it.each([
|
||||
@@ -78,4 +78,9 @@ describe("feature panel properties", () => {
|
||||
|
||||
expect(entries.map((entry) => entry.key)).toEqual(["point_name", "device_external_id"]);
|
||||
});
|
||||
|
||||
it("labels uniformly sampled SCADA locations", () => {
|
||||
expect(formatFeaturePropertyValue("location_source", "uniform_farthest_point_demo"))
|
||||
.toBe("空间均匀采样模拟位置");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user