This module polyfills CCF's native functions for use in unit tests that run in Node.js instead of CCF. It must be imported before all other imports like so:

import '@microsoft/ccf-app/polyfill.js';

Note that some functionality is not polyfilled, for example historic state (for historical endpoints).

Generated using TypeDoc