Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/store-sqlite-encrypted / _setCipherPeerForTesting
Function: _setCipherPeerForTesting()
ts
function _setCipherPeerForTesting(ctor): void;Defined in: packages/store-sqlite-encrypted/src/cipher-peer.ts:75
Internal
Test-only escape hatch. Pre-populates the cache with a stub driver so unit tests can exercise the encrypt / rekey runners without touching the native cipher addon.
Parameters
| Parameter | Type |
|---|---|
ctor | BetterSqlite3Constructor |
Returns
void