Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("must call setRequiresUserPrivacyConsent with boolean", () => {
OneSignal.setRequiresUserPrivacyConsent(true);
OneSignal.setRequiresUserPrivacyConsent(false);
// $ExpectError
OneSignal.setRequiresUserPrivacyConsent();
});
it('must call setRequiresUserPrivacyConsent with boolean', () => {
OneSignal.setRequiresUserPrivacyConsent(true);
OneSignal.setRequiresUserPrivacyConsent(false);
// $ExpectError
OneSignal.setRequiresUserPrivacyConsent();
});
it("must call setRequiresUserPrivacyConsent with boolean", () => {
OneSignal.setRequiresUserPrivacyConsent(true);
OneSignal.setRequiresUserPrivacyConsent(false);
// $ExpectError
OneSignal.setRequiresUserPrivacyConsent();
});
it('must call setRequiresUserPrivacyConsent with boolean', () => {
OneSignal.setRequiresUserPrivacyConsent(true);
OneSignal.setRequiresUserPrivacyConsent(false);
// $ExpectError
OneSignal.setRequiresUserPrivacyConsent();
});
it('must call setRequiresUserPrivacyConsent with boolean', () => {
OneSignal.setRequiresUserPrivacyConsent(true);
OneSignal.setRequiresUserPrivacyConsent(false);
// $ExpectError
OneSignal.setRequiresUserPrivacyConsent();
});
it("must call setRequiresUserPrivacyConsent with boolean", () => {
OneSignal.setRequiresUserPrivacyConsent(true);
OneSignal.setRequiresUserPrivacyConsent(false);
// $ExpectError
OneSignal.setRequiresUserPrivacyConsent();
});