didomi-iabtcf-testing
Testing tools to generate randomized input/output
Installation
npm
npm install didomi-iabtcf-testing --save-dev
yarn
yarn add -D didomi-iabtcf-testing
Utilities
Generate random TCModel with GVL
; ;
Generate random TC string
;; console.logTCString.decodeTCModelFactory.noGVL;// ... random tc string
Add publisher restrictions
;;tcModel = TCModelFactory.addPublisherRestrictionstcModel;// now has random publisher restrictions
Get latest GVL
;; ;
Get version of GVL
;; ;