Commit 3739cb1
committed
Use string traces in ForEach ordering integration tests
Replace numeric accumulation (ModVarScene) with string concatenation
(ModVarSceneTxt) in all orderBy/limit tests to make the exact iteration
order and values visible in the assertion. This makes test failures much
easier to diagnose since the full trace is a readable string like
"10;20;30;50;" rather than a single sum.
Also add gdjs.evtTools.common.toString to the GDJS mock so that
ToString() expressions work in code-generation integration tests.
https://claude.ai/code/session_01LXTeNz7ehNS5TqFYSU6aw51 parent d78e8f0 commit 3739cb1
File tree
2 files changed
+90
-114
lines changed- GDevelop.js
- TestUtils
- __tests__
2 files changed
+90
-114
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
| 1038 | + | |
1038 | 1039 | | |
1039 | 1040 | | |
1040 | 1041 | | |
| |||
0 commit comments