- it('We throw expected error if getTokenOfferMaps is called with publicKey undefined', () => {
- expect(() => getTokenOfferMaps([])).toThrow(
- 'getTokenOfferMaps called with undefined publicKey',
- );
- });
- it('A parsed agora ad that advertises a valid NFT sale by a public key that does not belong to this wallet is added to the offeredListings map', () => {
- // Define base enforcedOutputs for a valid parsed agora tx