Commit Graph

96 Commits

Author SHA1 Message Date
Evan You 34b37a62ec test for v-cloak 2016-05-25 18:28:05 -04:00
Evan You cb915d0120 fix linting issues 2016-05-24 20:52:59 -04:00
Evan You 5594a7cd3d tests for v-bind object 2016-05-24 20:51:01 -04:00
Evan You 54e648e49f include patch process in watcher getter to ensure correct dep collection for deep updates 2016-05-24 19:53:58 -04:00
Evan You 8c8eaea0fb restructure global api tests + ensure global mixins work regardless of constructor creation time 2016-05-24 14:12:10 -04:00
Bartek 7d55af6b6a Delimiters tests (#2948)
* delimiters spec

* delete Vue.options.delimiters
2016-05-24 13:32:03 -04:00
Evan You df73cbf0a8 remove v-bind:style important test case due to phantomjs inconsistency 2016-05-23 19:02:46 -04:00
Brendan Bowidas 93bfc9baa7 Unit tests for v-bind:style (#2932)
* begin unit tests for v-bind:style

* add unit tests for v-bind:style directive
2016-05-23 16:30:58 -04:00
Evan You f5297358af fix linting problems 2016-05-20 11:42:58 -04:00
Evan You 9d3479a76c rearrange option tests 2016-05-20 11:41:26 -04:00
Blake Newman 79b29f7ba4 added ref directive tests (#2892) 2016-05-20 11:36:29 -04:00
Evan You af0bf2a886 async component tests 2016-05-19 23:43:05 -04:00
Evan You f8ece6144a improve waitForUpdate() syntax 2016-05-18 13:08:14 -04:00
Blake Newman 8e35604dab added pre directive tests (#2891) 2016-05-18 01:35:13 -04:00
Evan You da4124c4ca unit tests for v-bind:class 2016-05-16 18:18:51 -04:00
Evan You 45d96c7dbc annotation for vdom (wip) 2016-05-14 03:08:21 -04:00
Evan You d6ced71719 prohibit Vue.set/delete on Vue instances 2016-05-12 01:56:01 -04:00
Evan You 07cf6444c6 return this in $mount, make unit tests more consistent 2016-05-11 15:40:50 -04:00
Evan You 2021b1f36f layout unit test files 2016-05-09 18:26:29 -04:00
Evan You 6593be9f75 update unit tests convention + basic component tests 2016-05-09 18:08:18 -04:00
Evan You 5fb1a549d2 make attr behavior more consistent + fix tests 2016-05-07 16:27:33 -04:00
Takuya Tejima ae78813606 [Vue 2.0] Fix BooleanAttr & EnumeratedAttr serialization (#2810)
* fix attr serialization

* Add attribute test cases
2016-05-07 15:51:46 -04:00
Evan You 68372ea26b update track-by usage 2016-05-04 16:48:47 -04:00
Evan You f0f2b76183 fix eslint 2016-04-29 19:44:10 -04:00
Evan You 2f0222b41c layout test files 2016-04-29 19:31:32 -04:00
Evan You 72b74a23e4 improve v-for unit tests 2016-04-29 19:26:09 -04:00
Evan You 2679653362 test for Vue.compile 2016-04-29 18:42:20 -04:00
Evan You e275b75af8 test/fix global filter registration 2016-04-29 18:39:52 -04:00
Evan You cab88c50bb fix child component v-on spec 2016-04-27 13:19:05 -04:00
Evan You 680bd042c9 fix v-on test capture 2016-04-27 13:13:01 -04:00
Jinjiang 25efaf2163 [next] v-on test (#2741)
* ensure babel-env during build

* v-on test

* fixed build script
2016-04-27 13:07:25 -04:00
Blake Newman 681dc603e4 added v-once directive unit tests (#2740) 2016-04-27 13:07:10 -04:00
Evan You 26b776fa81 add placeholders for unit tests 2016-04-26 11:10:11 -04:00
Evan You 3dc6088d53 use more reliable display check for v-show tests (fix it in PhantomJS) 2016-04-25 23:36:29 -04:00
Evan You bf14a05f3e fix spelling 2016-04-25 23:32:49 -04:00
Evan You f550933334 fix unit tests in Firefox/Safari 2016-04-25 23:30:48 -04:00
Jinjiang 657ba390c7 directives v-for v-html v-text v-show (#7)
* v-text & v-html tests

* new es2015 syntax

* passed v-html test

* fixed if/for/else render update bug

* fixed if/for/else render update bug

* added v-else with v-if test

* added v-if test with v-else and v-for

* fixed code format

* fixed Vue.delete bug

* v-for test
2016-04-25 23:25:59 -04:00
Evan You 9a2c8db4c8 get rid of new function in core so that runtime is fully CSP-compliant 2016-04-25 19:30:33 -04:00
Evan You 4540aaf37d fix async failure 2016-04-25 13:43:22 -04:00
Evan You 75ce539b49 use custom async chaining assertion utility 2016-04-25 13:37:19 -04:00
Evan You 7169d14179 update if tests 2016-04-25 13:17:59 -04:00
Jinjiang 9b681f7cf0 fixed if/for/else render update bug (#8)
* fixed if/for/else render update bug

* added v-else with v-if test

* added v-if test with v-else and v-for

* removed unnecessary elseBlock detect in optimizer
2016-04-25 13:02:17 -04:00
Evan You e649795596 improve linting 2016-04-25 12:58:37 -04:00
Jinjiang 84549215bf global api tests (#6)
* Vue.set & Vue.delete tests

* more global api tests

* new es2015 syntax
2016-04-25 12:46:19 -04:00
Evan You 213aaf3203 use arrow fns in tests 2016-04-24 13:29:38 -04:00
Evan You 4c6ed93a36 global config tests 2016-04-24 13:28:26 -04:00