Release Healer Man 0.1.33
This commit is contained in:
1 parent
6dcb1034e5
commit
05b25c4341
20 files changed
+573
-51
No files matched your search
@@ -25,6 +25,7 @@ function manastormPackageWithNavigationTriangles(
|
||||
function dungeonWithNavigation(
|
||||
status: DungeonDefinition["validation"]["status"],
|
||||
triangleCount: number,
|
||||
navigation?: DungeonDefinition["validation"]["navigation"],
|
||||
): Pick<DungeonDefinition, "assets" | "validation"> {
|
||||
return {
|
||||
assets: {
|
||||
@@ -32,7 +33,7 @@ function dungeonWithNavigation(
|
||||
collision: [],
|
||||
navigation: { id: "navigation", fileName: "navigation.glb", triangleCount },
|
||||
},
|
||||
validation: { status, blockers: [], warnings: [] },
|
||||
validation: { status, navigation, blockers: [], warnings: [] },
|
||||
};
|
||||
}
|
||||
|
||||
@@ -61,6 +62,14 @@ describe("party navigation loading policy", () => {
|
||||
)).toBe(false);
|
||||
});
|
||||
|
||||
it("loads an independently reviewed dungeon navigation graph", () => {
|
||||
expect(shouldLoadPartyNavigation(
|
||||
"dungeon",
|
||||
dungeonWithNavigation("unvalidated", 1_000, "green"),
|
||||
null,
|
||||
)).toBe(true);
|
||||
});
|
||||
|
||||
it("protects Manastorm from oversized or unmeasured synchronous graphs", () => {
|
||||
const fallbackDungeon = requireDungeonDefinition("wailing-caverns");
|
||||
|
||||
|
||||
Reference in new issue
Block a user