mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Update Node to 22.15.0 (#24699)
* Run `bin/update_node 20.18.2 22.15.0` * Remove expects on `fetchMock.callHistory.done()` to fix tests: are they necessary? * Set node version to `22.x` in linked-url-proxy * Increase test timeout to 30s in `github-sync`, Add waiting steps * Define `navigator.onLine` in tests setup GitOrigin-RevId: 75eb556e9f51b665e57497a0879b6915d14069ce
This commit is contained in:
+5
@@ -104,3 +104,8 @@ const fetchMock = require('fetch-mock').default
|
||||
fetchMock.spyGlobal()
|
||||
fetchMock.config.fetch = global.fetch
|
||||
fetchMock.config.Response = fetch.Response
|
||||
|
||||
Object.defineProperty(navigator, 'onLine', {
|
||||
configurable: true,
|
||||
get: () => true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user