Skip to content

Commit

Permalink
fixed test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Jan 19, 2018
1 parent 9e3510e commit 714133d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/wepy/test/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ describe('component.js', () => {

it('computed test', () => {
com.num = 11;
com.$$phase = null;
com.$apply();

assert.strictEqual(com.computedNum, 11 * 2, 'test computed');
Expand Down

0 comments on commit 714133d

Please sign in to comment.