Skip to content

Commit

Permalink
feat: update workbox version
Browse files Browse the repository at this point in the history
  • Loading branch information
fvs1981 committed Apr 13, 2023
1 parent 9476639 commit de1974b
Show file tree
Hide file tree
Showing 4 changed files with 1,634 additions and 326 deletions.
3 changes: 3 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This loads nvm.sh and sets the correct PATH before running hook
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"glob": "^7.2.0",
"pretty-bytes": "^5.6.0",
"rimraf": "^3.0.1",
"workbox-build": "^5.0.0"
"workbox-build": "^6.5.4"
},
"devDependencies": {
"@commitlint/cli": "^16.1.0",
Expand Down
7 changes: 7 additions & 0 deletions tests/acceptance/auto-register-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ module('Acceptance | Auto register', (hooks) => {
test('its registration is made automatically', async function (assert) {
swInitializer.initialize(this.owner);

const promise = new Promise((resolve) => {
setTimeout(() => {
resolve();
}, 500);
});

await promise;
await visit('/');

const registrations =
Expand Down
Loading

0 comments on commit de1974b

Please sign in to comment.