chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2023-05-17 07:55:27 +00:00 committed by coderaiser
parent ef6088531a
commit d011b13d30
2 changed files with 1 additions and 2 deletions

View file

@ -21,7 +21,7 @@ async function registerSW(prefix) {
const {serviceWorker} = navigator;
const register = serviceWorker.register.bind(serviceWorker);
const [e, sw] = await tryToCatch(register,`${prefix}/sw.js`);
const [e, sw] = await tryToCatch(register, `${prefix}/sw.js`);
if (e)
return null;

View file

@ -87,7 +87,6 @@ test('sw: register: registerSW: https self-signed', async (t, {location, navigat
t.end();
});
test('sw: register: registerSW', async (t, {location, navigator}) => {
location.hostname = 'localhost';