Skip to content

Commit

Permalink
feat: remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
fvs1981 committed Jun 13, 2023
1 parent 704c22f commit 686ef73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions addon/services/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,8 @@ export default class ServiceWorker extends EventedService {
}

_checkSWInstalled(installingWorker, registration) {
console.log('state: ' + installingWorker.state);
switch (installingWorker.state) {
case 'installed':
console.log('case installed ');
if (navigator.serviceWorker.controller) {
// At this point, the updated precached content has been fetched,
// but the previous service worker will still serve the older
Expand Down
2 changes: 0 additions & 2 deletions tests/acceptance/simple-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ module('Acceptance | Simple Acceptance Test', (hooks) => {
const registrations =
await window.navigator.serviceWorker.getRegistrations();

console.log('ave4r si ' + JSON.stringify(registrations));

assert.ok(registrations.length);
});

Expand Down

0 comments on commit 686ef73

Please sign in to comment.