fix: align drainage frontend configuration
This commit is contained in:
@@ -17,7 +17,8 @@ describe("workbench source layer controls", () => {
|
||||
"orifices",
|
||||
"outfalls",
|
||||
"pumps",
|
||||
"scada"
|
||||
"scada",
|
||||
"simulation"
|
||||
]);
|
||||
expect(items.slice(0, 5).map((item) => item.description)).toEqual([
|
||||
"wenzhou:geo_conduits_mat",
|
||||
@@ -26,10 +27,15 @@ describe("workbench source layer controls", () => {
|
||||
"wenzhou:geo_outfalls_mat",
|
||||
"wenzhou:geo_pumps_mat"
|
||||
]);
|
||||
expect(items.at(-1)).toMatchObject({
|
||||
expect(items.at(-2)).toMatchObject({
|
||||
label: "综合监测点",
|
||||
description: "wenzhou:geo_scadas_mat"
|
||||
});
|
||||
expect(items.at(-1)).toMatchObject({
|
||||
id: "simulation",
|
||||
label: "模拟结果",
|
||||
visible: false
|
||||
});
|
||||
});
|
||||
|
||||
it("finds every rendered layer that uses a source", () => {
|
||||
|
||||
Reference in New Issue
Block a user