Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal <[email protected]>
  • Loading branch information
dvishal485 committed Aug 26, 2024
1 parent 2fd4099 commit fda17cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/Notification/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,16 @@ export default function NotificationPage() {
<button
onClick={async () => {
console.log("Registering service!");
await BgService.registerServiceWorker("notification-service.js");
await BgService.registerServiceWorker(
"https://team-dev.dtutimes.com/notification-service.js",
);
}}
>
Get alerts on spam!
</button>
<button
onClick={async () => {
console.log(await BgService.getRegistration());
console.log("services: ", await BgService.getRegistration());
}}
>
Get alerts on spam!
Expand Down

0 comments on commit fda17cd

Please sign in to comment.