Skip to content

Commit a2ca9b5

Browse files
committed
suppress logs during weex tests
1 parent 1baa9d9 commit a2ca9b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/weex/helpers/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// suppress logs from vdom-tester
2+
const domModule = require('weex-vdom-tester/lib/modules/dom')
3+
domModule.updateFinish = domModule.createFinish = domModule.refreshFinish = () => {}
4+
15
import * as Vue from '../../../packages/weex-vue-framework'
26
import { compile } from '../../../packages/weex-template-compiler'
37
import { Runtime, Instance } from 'weex-vdom-tester'

0 commit comments

Comments
 (0)