Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(sdk): the field metadata snapshot carries the sun-sized source's tooltip

esengineffa50df3178d
diff --git a/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap b/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
index 56d313a4b..ac00c9e52 100644
--- a/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
+++ b/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
@@ -397,7 +397,7 @@ exports[`builtin FieldMeta (RC9-1 equivalence gate) > matches the golden snapsho
1,
],
},
- "tooltip": "Angular size of a Directional light's source; 0 = hard edge (sun ~0.53).",
+ "tooltip": "Angular size of a Directional light's source (the sun is 0.53); 0 = hard edge.",
"unit": "°",
},
"type": {