From 34d93e45183fc19f1d4c5468d71c9341a1dd9831 Mon Sep 17 00:00:00 2001 From: xiaowei Date: Tue, 5 Jan 2021 18:04:43 +0800 Subject: [PATCH] build: add globals for jest --- .eslintrc.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index dfd18c8..1cc1883 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -7,6 +7,12 @@ module.exports = { 'google', ], 'globals': { + 'expect': 'readable', + 'test': 'readable', + 'describe': 'readable', + 'beforeEach': 'readable', + 'afterEach': 'readable', + 'jest': 'readable', 'Atomics': 'readonly', 'SharedArrayBuffer': 'readonly', },