Skip to content

Commit

Permalink
fix: eslint bug
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 22, 2019
1 parent aff0052 commit 52e8afc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/renderer/src/regl/__tests__/model.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 52e8afc

Please sign in to comment.