Skip to content

Commit de1974b

Browse files
committed
feat: update workbox version
1 parent 9476639 commit de1974b

File tree

4 files changed

+1634
-326
lines changed

4 files changed

+1634
-326
lines changed

.huskyrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This loads nvm.sh and sets the correct PATH before running hook
2+
export NVM_DIR="$HOME/.nvm"
3+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"glob": "^7.2.0",
6161
"pretty-bytes": "^5.6.0",
6262
"rimraf": "^3.0.1",
63-
"workbox-build": "^5.0.0"
63+
"workbox-build": "^6.5.4"
6464
},
6565
"devDependencies": {
6666
"@commitlint/cli": "^16.1.0",

tests/acceptance/auto-register-test.js

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ module('Acceptance | Auto register', (hooks) => {
1919
test('its registration is made automatically', async function (assert) {
2020
swInitializer.initialize(this.owner);
2121

22+
const promise = new Promise((resolve) => {
23+
setTimeout(() => {
24+
resolve();
25+
}, 500);
26+
});
27+
28+
await promise;
2229
await visit('/');
2330

2431
const registrations =

0 commit comments

Comments
 (0)