diff --git a/src/domain/defaultEngine/latetDefaultEngine.ts b/src/domain/defaultEngine/latetDefaultEngine.ts index 97b7a8f43d..62c95534c8 100644 --- a/src/domain/defaultEngine/latetDefaultEngine.ts +++ b/src/domain/defaultEngine/latetDefaultEngine.ts @@ -5,7 +5,7 @@ import { z } from "zod"; /** パッケージ情報のスキーマ */ -const EngineVariantSchema = z.object({ +const engineVariantSchema = z.object({ version: z.string(), packages: z .object({ @@ -22,22 +22,22 @@ const latestDefaultEngineInfoSchema = z.object({ formatVersion: z.number(), windows: z.object({ x64: z.object({ - CPU: EngineVariantSchema, - "GPU/CPU": EngineVariantSchema, + CPU: engineVariantSchema, + "GPU/CPU": engineVariantSchema, }), }), macos: z.object({ x64: z.object({ - CPU: EngineVariantSchema, + CPU: engineVariantSchema, }), arm64: z.object({ - CPU: EngineVariantSchema, + CPU: engineVariantSchema, }), }), linux: z.object({ x64: z.object({ - CPU: EngineVariantSchema, - "GPU/CPU": EngineVariantSchema, + CPU: engineVariantSchema, + "GPU/CPU": engineVariantSchema, }), }), }); diff --git a/tests/unit/domain/defaultEngine/defaultEngine.spec.ts b/tests/unit/domain/defaultEngine/latetDefaultEngine.spec.ts similarity index 100% rename from tests/unit/domain/defaultEngine/defaultEngine.spec.ts rename to tests/unit/domain/defaultEngine/latetDefaultEngine.spec.ts