fix: eslint bug

This commit is contained in:
afc163 2019-11-22 19:53:17 +08:00
parent 4c94e87763
commit ceafbbecb8
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@ import regl from 'regl';
import ReglModel from '../ReglModel';
// TODO: 暂时在 travis 跳过这个测试用例,本地能跑过
(process.env.NODE_ENV === 'test' ? describe.skip : describe)('ReglModel', () => {
const describeFn = process.env.NODE_ENV === 'test' ? describe.skip : describe;
describeFn('ReglModel', () => {
let gl;
let reGL: regl.Regl;