repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use same lock values as mobile clients
[ProtonMail-WebClient.git]
/
packages
/
shared
/
lib
/
window
/
index.ts
blob
fea36c8219964a775531c78bcba4fc20c837cb62
1
/*
2
* Need to keep a reference of the window object so that we can mock it during unit tests.
3
* In order to avoid breaking non-window contexts (ie: service workers) expose the globalThis object
4
*/
5
export default globalThis;