Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove console log #139

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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