new rpg mode
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { CLAUDECRAFT_WEAPON_CATALOG } from "../game/weaponCatalog";
|
||||
import { characterEquipmentAssetUrl, characterEquipmentAssetUrls } from "./CharacterEquipmentAssets";
|
||||
|
||||
describe("Claudecraft runtime weapon URLs", () => {
|
||||
it("resolves every catalog entry to one emitted GLB URL", () => {
|
||||
const urls = characterEquipmentAssetUrls();
|
||||
expect(Object.keys(urls)).toHaveLength(55);
|
||||
for (const definition of CLAUDECRAFT_WEAPON_CATALOG) {
|
||||
expect(characterEquipmentAssetUrl(definition.id)).toMatch(/\.glb(?:\?|$)/);
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user