Skip to content

test: added integration and unit testing for acpContractClientV2#113

Merged
Zuhwa merged 5 commits intoVirtual-Protocol:mainfrom
JohnsonChin1009:test/acpContractClientV2
Dec 2, 2025
Merged

test: added integration and unit testing for acpContractClientV2#113
Zuhwa merged 5 commits intoVirtual-Protocol:mainfrom
JohnsonChin1009:test/acpContractClientV2

Conversation

@JohnsonChin1009
Copy link
Copy Markdown
Contributor

summary

  • 19 unit tests covering all public methods
  • 2 integration testing covering build() and init()
  • 95%~ coverage

changes

  • updated tsconfig.json target to ES2020 for BigInt support
  • added unit test suite
  • added integration test suite

- installed and configured jest and babel for test environment
- created unit testing scripts for acpContractClientV2
- removed previous helper file under test/
- updated ES2016 to ES2020 for usage of BigInt
- updated vp sdk to latest version
- added the standard env.ts file to load variables
@Zuhwa Zuhwa merged commit 5a15038 into Virtual-Protocol:main Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants