test(wasm-sdk): enable contract token and group check#2952
test(wasm-sdk): enable contract token and group check#2952QuantumExplorer merged 1 commit intov3.0-devfrom
Conversation
Was previously disabled due to a serialization issue that has been fixed
📝 WalkthroughWalkthroughA previously skipped test in the data-contract specification is restored and enabled. The test validates V1 contract property exposure through the fromJSON method. No assertion logic or test implementation changes are included. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (3)📚 Learning: 2024-11-06T07:27:01.722ZApplied to files:
📚 Learning: 2025-06-18T03:44:14.385ZApplied to files:
📚 Learning: 2025-12-29T10:53:03.792ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Issue being fixed or feature implemented
Re-enables a previously skipped test for V1 data contracts with tokens and groups in the WASM SDK unit tests. The test was disabled due to a serialization issue that has since been fixed. Related to #2803 and #2794.
What was done?
should create a V1 contract from JSON and expose all properties including tokens and groupstest inpackages/wasm-sdk/tests/unit/data-contract.spec.mjsit.skip()and associated TODO commentHow Has This Been Tested?
yarn workspace @dashevo/wasm-sdk testBreaking Changes
None
Checklist:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.