mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
4a435df6e4
trek-plugin dev and createMockHost copied the db:own checks by hand and let through what TREK refuses (NUL, transaction control outside tx()), so a plugin worked locally and failed in TREK. Both now read the contract from src/plugin-data-contract.ts, a byte-identical copy of the server's file that the parity test compares, and check in the server's order. Tests compare every refusal of the dev database and the mock host with the contract's text.