From def9ba79f1b8d036c027111056e18f50710c55f0 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Thu, 7 Nov 2024 03:55:33 +0900 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=96=87=E5=AD=97=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/domain/defaultEngine/latetDefaultEngine.ts | 14 +++++++------- ...ltEngine.spec.ts => latetDefaultEngine.spec.ts} | 0 2 files changed, 7 insertions(+), 7 deletions(-) rename tests/unit/domain/defaultEngine/{defaultEngine.spec.ts => latetDefaultEngine.spec.ts} (100%) 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