Commit 5f11dbc
committed
chore(native): remove false-green TypeScript suites now covered by Rust tests
The three native examples now have real LiteSVM Rust tests, so their
TypeScript suites — which imported from `node:test` but ran under
`ts-mocha`, executing zero tests (false green) — are removed along with
their now-unused JS tooling (ts-mocha, mocha, chai, solana-bankrun, etc.)
and tsconfig.json. `build-and-test` is rewired to just build the program
.so into tests/fixtures, which is what the LiteSVM `cargo test` consumes;
the empty lockfiles keep `pnpm install --frozen-lockfile` passing in CI.
Also fix the stale .gitignore exception path for the escrow Cargo.lock
(escrow moved from tokens/ to finance/) and document the real reason it
stays tracked (standalone, non-workspace crate).1 parent 1e39179 commit 5f11dbc
16 files changed
Lines changed: 12 additions & 5865 deletions
File tree
- finance/escrow/native
- tests
- tokens/token-extensions
- default-account-state/native
- tests
- multiple-extensions/native
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 5 | + | |
24 | 6 | | |
25 | 7 | | |
0 commit comments