fix: disable serviceworker in integration tests (#2274)
This commit is contained in:
parent
13a289f6f1
commit
f51335df9d
1
.github/workflows/integration-tests.yaml
vendored
1
.github/workflows/integration-tests.yaml
vendored
@ -42,6 +42,7 @@ jobs:
|
||||
env:
|
||||
CI: false
|
||||
REACT_APP_NETWORK_URL: "https://mainnet.infura.io/v3/4bf032f2d38a4ed6bb975b80d6340847"
|
||||
REACT_APP_SERVICE_WORKER: false
|
||||
|
||||
- run: yarn integration-test
|
||||
env:
|
||||
|
@ -86,4 +86,6 @@ ReactDOM.render(
|
||||
document.getElementById('root')
|
||||
)
|
||||
|
||||
serviceWorkerRegistration.register()
|
||||
if (process.env.REACT_APP_SERVICE_WORKER !== 'false') {
|
||||
serviceWorkerRegistration.register()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user