You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use `test:target` when you only need to exercise one file:
61
+
62
+
```bash
63
+
pnpm run test:target packages/e2e/src/tickets/delegation.spec.ts
64
+
```
65
+
66
+
Append additional Jest flags after the path if you need finer filtering.
67
+
68
+
## QA Starter Kit workflow
69
+
70
+
When you need to validate SDK integrations against backend or node features, lean on the [QA Starter Kit](https://github.com/LIT-Protocol/QA-kit). That repo installs published packages, so it mirrors how downstream teams will consume the SDK.
71
+
72
+
1. The node team opens a feature branch for their service.
73
+
2. Create a matching SDK branch and build the integration for that node change.
74
+
3. Publish a snapshot (prerelease) of the SDK packages so the QA Starter Kit can install them from npm.
75
+
4. Point the QA Starter Kit to that snapshot to perform the e2e flow before promoting the release.
76
+
77
+
This keeps QA aligned with the packages that will actually ship and avoids the drift that comes with local linking.
78
+
58
79
# Running it against a local network
59
80
81
+
Generate a fresh `networkContext.json` for local nodes with `pnpm run gen:local-network-context` before running the e2e tests against the `naga-local` local network.
82
+
60
83
## Required Environment Variables
61
84
62
85
```bash
@@ -132,6 +155,18 @@ This command must be run manually and is NOT part of the build process, as it re
132
155
DEV_BRANCH=develop GH_API_KEY=github_pat_xxx pnpm run sync:contracts
133
156
```
134
157
158
+
## Keeping the docs changelog in sync with the public site
159
+
160
+
Use the `sync:docs-changelog` script to refresh the changelog that powers [naga.developer.litprotocol.com/changelog](https://naga.developer.litprotocol.com/changelog).
161
+
162
+
```shell
163
+
pnpm run sync:docs-changelog
164
+
```
165
+
166
+
> Note: we currently run this manually after the Changeset PR lands in the `naga` main branch, though we expect to automate it in CI in the future.
167
+
168
+
The script collates the latest entries from `packages/*/CHANGELOG.md` and rewrites the target `changelog.mdx`. Commit and publish the regenerated file in the docs repo so the public changelog stays current.
0 commit comments