Skip to content

Commit

Permalink
fix: export TPT type (#60)
Browse files Browse the repository at this point in the history
* fix: export TPT type, export remarketing
  • Loading branch information
ioanna0 authored Oct 14, 2020
1 parent ce3f03b commit cf3d6de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ export { ias } from './third-party-tags/ias';
export { permutive } from './third-party-tags/permutive';
export { fbPixel } from './third-party-tags/facebook-pixel';
export { twitter } from './third-party-tags/twitter-uwt';
export { remarketing } from './third-party-tags/remarketing';
export { lotame, getLotameData } from './third-party-tags/lotame';
export type { LotameData } from './types';
export type { LotameData, ThirdPartyTag } from './types';
4 changes: 3 additions & 1 deletion src/third-party-tags/remarketing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import { remarketing } from './remarketing';

describe('remarketing', () => {
it('should have expected properties', () => {
expect(remarketing({ shouldRun: true })).toMatchObject({
const remarketingTag = remarketing({ shouldRun: true });
expect(remarketingTag).toMatchObject({
shouldRun: true,
url: '//www.googleadservices.com/pagead/conversion_async.js',
name: 'remarketing',
onLoad: remarketingTag.onLoad,
});
});
});

0 comments on commit cf3d6de

Please sign in to comment.