build: add globals for jest

This commit is contained in:
xiaowei 2021-01-05 18:04:43 +08:00
parent 788374c1ec
commit 34d93e4518

View File

@ -7,6 +7,12 @@ module.exports = {
'google',
],
'globals': {
'expect': 'readable',
'test': 'readable',
'describe': 'readable',
'beforeEach': 'readable',
'afterEach': 'readable',
'jest': 'readable',
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly',
},