From 53468f47de7c49aad20ed83463ed27f21cdc19e7 Mon Sep 17 00:00:00 2001 From: PP_Pro Date: Wed, 9 Aug 2023 16:51:24 +0800 Subject: [PATCH] reduce EXPECTED_CAPACITY --- tests/core/serialization/deserialize-capacity.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/serialization/deserialize-capacity.test.ts b/tests/core/serialization/deserialize-capacity.test.ts index 52bc6b149b9..17141479056 100644 --- a/tests/core/serialization/deserialize-capacity.test.ts +++ b/tests/core/serialization/deserialize-capacity.test.ts @@ -6,7 +6,7 @@ import { deserialize } from '../../../cocos/serialization/deserialize'; @ccclass('Foo') class Foo { @property foo!: Foo | null; } -const EXPECTED_CAPACITY = 900; +const EXPECTED_CAPACITY = 750; test(`Deserialization capacity`, () => { const fooSerialized = createVeryDeepFoo(EXPECTED_CAPACITY);