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 enableSound with boolean", () => {
OneSignal.enableSound(true);
OneSignal.enableSound(false);
// $ExpectError
OneSignal.enableSound();
});
it('must call enableSound with boolean', () => {
OneSignal.enableSound(true);
OneSignal.enableSound(false);
// $ExpectError
OneSignal.enableSound();
});
it("must call enableSound with boolean", () => {
OneSignal.enableSound(true);
OneSignal.enableSound(false);
// $ExpectError
OneSignal.enableSound();
});
it("must call enableSound with boolean", () => {
OneSignal.enableSound(true);
OneSignal.enableSound(false);
// $ExpectError
OneSignal.enableSound();
});
it('must call enableSound with boolean', () => {
OneSignal.enableSound(true);
OneSignal.enableSound(false);
// $ExpectError
OneSignal.enableSound();
});
it('must call enableSound with boolean', () => {
OneSignal.enableSound(true);
OneSignal.enableSound(false);
// $ExpectError
OneSignal.enableSound();
});