From efc14ed9fefb156af1e79a6307953d1a31e74c0b Mon Sep 17 00:00:00 2001 From: Ural Date: Wed, 10 Apr 2024 16:40:40 +0200 Subject: [PATCH] feat(add-consent): test for index.ts --- src/consent/index.spec.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/consent/index.spec.ts diff --git a/src/consent/index.spec.ts b/src/consent/index.spec.ts new file mode 100644 index 0000000..9c7a386 --- /dev/null +++ b/src/consent/index.spec.ts @@ -0,0 +1,16 @@ +import * as consentModule from './index'; + +describe('consent', () => { + it('should have the expected methods', () => { + expect(consentModule.consent).toEqual({ + get: expect.any(Function), + set: expect.any(Function), + getAll: expect.any(Function), + setAll: expect.any(Function), + getAllCheckboxes: expect.any(Function), + setCheckboxes: expect.any(Function), + setAllCheckboxes: expect.any(Function), + sendQueuedEvents: expect.any(Function), + }); + }); +});