Skip to content

Commit a2a9110

Browse files
committed
bump weex test deps
1 parent deae1ff commit a2a9110

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/weex/helpers/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ domModule.updateFinish = domModule.createFinish = domModule.refreshFinish = () =
55
import * as Vue from '../../../packages/weex-vue-framework'
66
import { compile } from '../../../packages/weex-template-compiler'
77
import { Runtime, Instance } from 'weex-vdom-tester'
8-
import { config } from 'weex-js-runtime'
8+
import { init, config } from 'weex-js-runtime'
9+
10+
init()
911

1012
// http://stackoverflow.com/a/35478115
1113
const matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g

test/weex/runtime/framework.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ describe('framework APIs', () => {
455455
},
456456
el: "body"
457457
})
458-
`, { a: 1, b: 2 })
458+
`, undefined, { a: 1, b: 2 })
459459
expect(JSON.parse(instance2.getRealRoot().children[0].attr.value)).toEqual({ a: 1, b: 2, env: DEFAULT_ENV })
460460
})
461461

0 commit comments

Comments
 (0)