Skip to content

docs(compact): fill in testing and debugging page with testkit-js guide#731

Open
Mechack08 wants to merge 1 commit intomidnightntwrk:mainfrom
Mechack08:fill-compact-testing-docs
Open

docs(compact): fill in testing and debugging page with testkit-js guide#731
Mechack08 wants to merge 1 commit intomidnightntwrk:mainfrom
Mechack08:fill-compact-testing-docs

Conversation

@Mechack08
Copy link
Copy Markdown

Add comprehensive content to the previously empty testing.mdx page:

  • Explain the three testable layers (circuit logic, witnesses, full DApp flow)
  • Cover setup: installing testkit-js and Vitest, configuring timeouts
  • Walk through a complete counter contract test suite with beforeAll/afterAll lifecycle
  • Demonstrate deploy + call + ledger state assertion patterns
  • Document all MN_TEST_ENVIRONMENT options (undeployed, testnet, devnet, env-var-remote)
  • Show how to use inMemoryPrivateStateProvider for private state isolation
  • Add debugging section with NodeClient and expectSuccessfulTxData usage
  • Include a common issues troubleshooting table

Add comprehensive content to the previously empty testing.mdx page:
- Explain the three testable layers (circuit logic, witnesses, full DApp flow)
- Cover setup: installing testkit-js and Vitest, configuring timeouts
- Walk through a complete counter contract test suite with beforeAll/afterAll lifecycle
- Demonstrate deploy + call + ledger state assertion patterns
- Document all MN_TEST_ENVIRONMENT options (undeployed, testnet, devnet, env-var-remote)
- Show how to use inMemoryPrivateStateProvider for private state isolation
- Add debugging section with NodeClient and expectSuccessfulTxData usage
- Include a common issues troubleshooting table
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 21, 2026

@Mechack08 is attempting to deploy a commit to the Shielded Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 21, 2026

CLA assistant check
All committers have signed the CLA.

@nstanford5 nstanford5 self-requested a review March 21, 2026 15:13
@nstanford5
Copy link
Copy Markdown
Contributor

Thanks for the submission @Mechack08 -- we'll provide review in the coming days. This page is being populated with a bit of different content in this PR: #726 -- I'll review both and provide a path forward

@Mechack08
Copy link
Copy Markdown
Author

Thanks @nstanford5 , I will be waiting for the update

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.

3 participants