Commit Graph

1093 Commits

Author SHA1 Message Date
kazuya kawaguchi c665a682d2 pass vnode raw data in functional component (#3168) 2016-07-02 11:03:11 -04:00
Evan You b3710e07e9 fix eslint in tests 2016-06-30 15:19:58 -04:00
Evan You 5b668a9222 warn non-Array value for <select multiple> (close #3191) 2016-06-30 11:48:48 -04:00
kazuya kawaguchi 41a3b79ecd add compile option test (#3181) 2016-06-30 11:01:37 -04:00
Evan You 5882a0e3b5 transition: onEnter -> enter, onLeave -> leave, onAppear -> appear (ref #3172) 2016-06-29 21:37:31 -04:00
Evan You 7827593972 custom directive: postupdate -> componentUpdated (ref #3172) 2016-06-29 21:32:02 -04:00
Evan You ba3bec824d SSR: allow user to provide own (possibly async) cache implementation 2016-06-29 16:45:01 -04:00
Evan You 6cf19291be adjust v-model on component sync mechanism (fix #3179) 2016-06-29 12:25:28 -04:00
Evan You 1b60a88ee1 adjust sameVnode check (fix #3176) 2016-06-29 12:03:37 -04:00
Evan You feee9ef6f6 remove camelCase tag warning 2016-06-28 17:41:44 -04:00
Evan You 98a7e75f1e increase transition test durations for suacelabs 2016-06-27 22:18:01 -04:00
Evan You 827ac27a96 fix eslint 2016-06-27 17:19:49 -04:00
Evan You b791c5722f tests for ssr bundle renderer 2016-06-27 17:11:04 -04:00
Evan You 43fabd5c96 pass the context vm in transition hooks 2016-06-27 15:11:40 -04:00
Evan You 0800fbe641 allow omitting data in createElement 2016-06-27 14:18:13 -04:00
Evan You 06b470369a element namespace should be resolved at runtime for render function / jsx usage 2016-06-27 14:02:14 -04:00
Evan You f20b1a8333 fix ssr test case for init -> beforeCreate change 2016-06-27 12:53:12 -04:00
Evan You 8c86973198 rename: init -> beforeCreate 2016-06-27 12:29:59 -04:00
Evan You 1b3b19491f merge renderElement and renderElementWithChildren 2016-06-27 12:25:02 -04:00
Evan You cf8aeddc12 fix v-once with v-for and remove unused _t method (fix #3155) 2016-06-27 11:18:06 -04:00
Evan You 3f91f6577f fix id-resolved appear transition (fix #3157) 2016-06-26 20:03:39 -04:00
Evan You 36e63c234a coverage for new global mixin strategy 2016-06-25 23:18:08 -04:00
Evan You 1d8f3a264e better global mixin strategy 2016-06-25 10:43:19 -04:00
Evan You 4cf710e56d update ssr package 2016-06-25 00:05:39 -04:00
Evan You 76d7809a11 config.errorHandler should capture user wathcer errors too (ref #3142) 2016-06-22 22:43:58 -04:00
kazuya kawaguchi 194b20a9dc fix transition spec typo (#3141) 2016-06-22 22:01:42 -04:00
Evan You ebd8d5fd59 fix transition active class application timing to avoid initial flash 2016-06-22 22:01:11 -04:00
Evan You 3fe127b05a fix v-model number conversion (fix #3140) 2016-06-22 21:43:52 -04:00
Evan You f0efa9aad2 rename _keyCode -> _k 2016-06-22 11:39:40 -04:00
Evan You 4fe51a75a9 prohibit replacing Vue.config + support custom keyCodes 2016-06-22 11:35:33 -04:00
Evan You 63da54ddee fix v-on number keyCode support 2016-06-22 11:10:36 -04:00
Evan You 9071dfd47a test directive binding.expression 2016-06-21 02:19:00 -04:00
Evan You 8d2ee3c1f8 expose expression on directive binding 2016-06-21 02:17:11 -04:00
Evan You 9115291ccd move sfc parser spec 2016-06-21 02:17:11 -04:00
Evan You 2af9f68bd9 remove source-map generation from sfc parser 2016-06-21 02:17:11 -04:00
kazuya kawaguchi cf1a697710 fix v-model warning on component (#3102) 2016-06-18 11:08:44 -04:00
Evan You 439ca63f9f fix sfc-parser unary tags handling 2016-06-17 15:35:59 -04:00
zigomir 27252928d3 Add failing test. 2016-06-17 14:53:36 -04:00
Evan You 68a73cfd19 support dynamic refs 2016-06-17 14:11:09 -04:00
Evan You c949c74986 change ref to a built-in attribute 2016-06-17 14:03:19 -04:00
Evan You e3fb6fe834 remove <render> tag 2016-06-17 13:25:34 -04:00
Evan You d398023ad1 functional components 2016-06-17 13:21:04 -04:00
Evan You 41e46476a5 pass createElement into render functions 2016-06-17 11:29:22 -04:00
Evan You 2bb15044d1 prohibit replacing $data 2016-06-16 14:10:50 -04:00
Evan You 9e14146fb2 temporarily disable firefox in e2e tests until nightwatch updates to work with FF 47 2016-06-15 14:16:42 -04:00
Evan You cfe745e9d2 apply scopeId to slot contents too 2016-06-15 13:33:12 -04:00
Evan You d76bf8cac8 improve template error detector 2016-06-15 11:31:43 -04:00
Evan You a5ccee3079 make modal e2e test more stable on CI 2016-06-15 10:40:40 -04:00
Evan You b1351be073 support _scopeId in SSR 2016-06-14 14:45:45 -04:00
Evan You b0ad94fc87 properly encode HTML in server-side rendering (fix #3078) 2016-06-14 14:15:41 -04:00
Evan You d1a5298372 adjust build setup 2016-06-13 18:56:36 -04:00
Evan You 22a4d77197 fix select2 e2e test in phantomjs 2016-06-13 18:14:44 -04:00
Evan You bd71c06b6f tweak e2e script to allow passing in more flags to npm task 2016-06-13 18:01:12 -04:00
Evan You 000433c878 get tests passing on all suacelab browsers 2016-06-13 17:51:22 -04:00
Evan You cec833a9e8 implement new v-for iterator syntax (ref: #3073) 2016-06-13 14:55:53 -04:00
Evan You 9842f3eb38 refactor sfc-parser to handle nested template tags 2016-06-13 14:09:24 -04:00
Evan You 9438408210 fix SSR tests after preserveWhitespace removal 2016-06-10 18:26:48 -04:00
Evan You cccfda96da test for config.optionMergeStrategies 2016-06-10 18:20:48 -04:00
Evan You 34bcc02b77 remove preserveWhitespace config option 2016-06-10 18:14:58 -04:00
Evan You a5cd31ab6d coverage for sfc-parser 2016-06-10 16:57:42 -04:00
Evan You f0a9e3d0f0 test padding and source map for sfc-parser 2016-06-10 16:54:58 -04:00
Evan You 7503f8eb15 support _scopeId 2016-06-08 18:26:15 -04:00
Evan You 3edfc4518d support postTransform as well 2016-06-08 17:33:33 -04:00
Evan You 3ddef0c53c add preTransform option for compiler modules 2016-06-08 16:36:01 -04:00
Evan You 8924e91abc v-pre nodes should use staticAttrs 2016-06-08 16:22:51 -04:00
Evan You a53d54aa8a fix whitespace vnode identity breaking patch (fix #3043) 2016-06-08 13:28:55 -04:00
Evan You d9ce1306e1 fix tests for global name override 2016-06-08 12:53:28 -04:00
Evan You 02d5330e50 detect and warn against using keywords as property names 2016-06-08 12:15:59 -04:00
Evan You b1ef7cf168 coverage for sfc-parser 2016-06-07 21:56:28 -04:00
Evan You f8daf74640 adjust build 2016-06-07 21:53:43 -04:00
Evan You e236f80fa0 parser for single-file components 2016-06-07 21:36:00 -04:00
Evan You b02b1e5ba4 better template compilation error warnings 2016-06-06 14:15:21 -04:00
Evan You e433032f8f test for keep-alive teardown 2016-06-06 01:20:27 -04:00
Evan You 8129e0c315 tests for keep-alive 2016-06-06 00:47:29 -04:00
Evan You 15d650054c tests for transition-mode 2016-06-06 00:04:14 -04:00
Evan You 7a06a9df3b prepare keep-alive and transition-mode tests 2016-06-05 15:26:45 -04:00
kazuya kawaguchi 8d22ee912e add ssr custom directive test (#3030) 2016-06-04 10:52:47 -04:00
Evan You 8015100d77 improve inline transition test (test merging with exsiting definition) 2016-06-03 15:19:06 -04:00
Evan You 9adbe9c399 also test mounted for child component 2016-06-03 15:19:00 -04:00
Evan You 93501f2002 transition refactoring 2016-06-02 22:29:54 -04:00
Evan You 4cff0a7d76 use separate className for appear transitions 2016-06-02 18:18:45 -04:00
Evan You 4bcdce895c record original tag name on vnode for components using is attribute 2016-06-02 18:18:32 -04:00
Evan You 48a0d29e35 rename track-by -> key 2016-06-02 13:43:53 -04:00
Evan You 03e0dab1f4 add prop mutation warning 2016-06-01 21:50:00 -04:00
Evan You 313442d38a test create component hook merging 2016-06-01 20:02:39 -04:00
Evan You 060fab9ec1 make ref a runtime module 2016-06-01 19:52:42 -04:00
Evan You 4290cdb6f1 fix hydration warning test in phantomjs 2016-06-01 18:52:33 -04:00
Evan You d40ab0ca87 fix component client-side hydration 2016-06-01 18:20:13 -04:00
Evan You 2ce08d63cc test transition on child components 2016-06-01 17:15:25 -04:00
Evan You bb5c102c35 fix errorHandler tests 2016-06-01 17:14:02 -04:00
Evan You 068f6270d5 test for errorHandler config 2016-06-01 17:10:24 -04:00
Evan You eca4ad8203 more tests/fixes 2016-06-01 16:56:27 -04:00
Evan You f8cfc81826 remove unnecessary v-pre related code 2016-06-01 15:03:09 -04:00
Evan You bd12a68b02 add v-ref + v-for test case 2016-06-01 15:02:55 -04:00
Evan You 3e596bb97b handle event removal 2016-06-01 14:49:51 -04:00
Evan You 1fc251cfa4 rename errorHandler config 2016-06-01 11:19:16 -04:00
Evan You 366188fbde coverage improvements 2016-06-01 11:17:37 -04:00
Evan You ff9c6b09bb fix svg parsing in IE 2016-05-31 22:41:56 -04:00
Evan You 2e678b87a5 remove classList polyfill in tests 2016-05-31 21:42:33 -04:00
Evan You b42f4b4c7f improve transition tests 2016-05-31 20:55:13 -04:00
Evan You 79bfb1809a more transition tests 2016-05-31 20:36:06 -04:00
Evan You 74538b4529 basic transition tests 2016-05-31 19:09:57 -04:00
Evan You 9c2ca07cc6 more coverage improvements 2016-05-31 15:26:55 -04:00
Evan You 6a48b35473 props tests 2016-05-31 15:15:01 -04:00
Evan You 4179ba0b1c small coverage tweaks 2016-05-31 13:46:08 -04:00
Evan You 47f24430cb also warn set/delete on instance root $data 2016-05-31 13:31:29 -04:00
Evan You 818faa7d58 options watch tests 2016-05-31 11:21:41 -04:00
Evan You 26bc0002d7 options computed test 2016-05-30 18:37:22 -04:00
Evan You 563cdba11e improve coverage 2016-05-29 15:02:03 -04:00
Evan You 7913a96ccb fix test in phantomjs 2016-05-29 14:39:48 -04:00
Evan You 2a09188e01 options propsData tests 2016-05-29 14:28:03 -04:00
Evan You ed10dcf293 add asset resolution warning tests 2016-05-29 14:01:43 -04:00
Evan You 2f79bd26a4 options data tests 2016-05-29 13:55:30 -04:00
Evan You 0abbdd98c6 more filter tests 2016-05-29 13:35:47 -04:00
Evan You f23498242f test for misc instance properties 2016-05-29 13:21:09 -04:00
Evan You 5b18542eea option extends tests 2016-05-29 13:02:45 -04:00
Evan You 43da334ec1 test programmatic $slot access 2016-05-28 21:39:59 -04:00
Evan You 7bb5234074 options filters tests 2016-05-28 21:29:05 -04:00
Evan You 1e90fd6a52 component option tests 2016-05-28 21:14:37 -04:00
Evan You 0450aba1f1 improve Vue.extend tests 2016-05-28 21:09:01 -04:00
Evan You d62eacd1da directive option tests 2016-05-28 21:08:55 -04:00
Evan You 99a96d3c37 should invoke destroy hook for replaced root nodes too 2016-05-28 21:05:53 -04:00
Evan You 5aeb7f5eef lifecycle hook tests 2016-05-28 20:17:19 -04:00
Evan You 20758d554f instance methods tests 2016-05-27 21:38:06 -04:00
kazuya kawaguchi f5bc3e584f add options render tests (#2966)
ref: #2872
2016-05-27 21:05:42 -04:00
Evan You a99bed7267 just use lodash itself since it is already a dep 2016-05-27 20:00:12 -04:00
kazuya kawaguchi d91eda8556 add options el tests (#2967)
* add options el tests

ref: #2872

* fix error at phantomjs env
2016-05-27 19:17:57 -04:00
kazuya kawaguchi 05235942a7 add options template tests (#2968)
* add options template tests

ref: #2872

* fix runtime error and warning optimaize

* update invalid template
2016-05-27 19:17:03 -04:00
Evan You c6d749b268 bump dependencies and fix toEqual matcher in Safari 2016-05-27 19:16:14 -04:00
Evan You 3a0557a317 component slot tests 2016-05-27 17:14:23 -04:00
Evan You 87820e9fbd remove select append selectedIndex test case 2016-05-26 23:54:06 -04:00
Evan You 2a64b8a356 tests for v-model select 2016-05-26 23:51:34 -04:00
Evan You 22d7acba03 always set props even if value is the same 2016-05-26 20:47:23 -04:00
Evan You c2ef6d8df9 v-model checkbox tests 2016-05-26 20:41:34 -04:00
Evan You 1914dfe4dd v-model radio tests 2016-05-26 20:11:47 -04:00
Evan You 0e67d82356 remove transition specs (to be tested in its own suite) 2016-05-26 19:46:33 -04:00
Evan You b370eacfce fix unit tests in IE9 2016-05-26 19:07:44 -04:00
Evan You cc06868882 improve hydration test case 2016-05-26 18:22:22 -04:00
Evan You 0fd43c9653 Merge branch 'test/patch' of git://github.com/kazupon/vue into test/patch 2016-05-26 18:16:40 -04:00
Bartek Iwańczuk 2421265f61 tests for parent, name and mixins (#2959)
* tests for parent, name and mixins

* split mixin test case into to, prefixed test suites
2016-05-26 18:11:56 -04:00
Evan You 1c6325367e amend render tests 2016-05-26 18:10:20 -04:00
kazuya kawaguchi af16d36122 add render tests
ref: #2872
2016-05-26 17:57:19 -04:00
Evan You dc76830b7b fix test error in phantomjs 2016-05-26 13:58:10 -04:00
Evan You 056cb7f295 test for v-model text 2016-05-26 13:54:37 -04:00
kazuya kawaguchi 6b4a617e6d Fix render codegen bug (#2954) 2016-05-26 10:31:49 -04:00
Evan You 34b37a62ec test for v-cloak 2016-05-25 18:28:05 -04:00
kazuya kawaguchi a6ac886f2c
add vdom helper 2016-05-25 15:50:00 +09:00
kazuya kawaguchi 31c63559ed
add eslint ignore for test 2016-05-25 15:43:12 +09:00
kazuya kawaguchi 02cdbd2dbb
add patch tests
ref: #2872
2016-05-25 15:42:39 +09: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 0a15d9ee27 add root element warnings 2016-05-23 19:03:02 -04:00
Evan You df73cbf0a8 remove v-bind:style important test case due to phantomjs inconsistency 2016-05-23 19:02:46 -04:00
kazuya kawaguchi 30c82195d1 add create-element tests (#2930) 2016-05-23 16:32:48 -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 82c76175ec use extend instead of Object.assign() since the latter is not avaialble in phantomjs 2016-05-20 11:46:51 -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 acd712d54d fix ref codegen 2016-05-20 11:36:14 -04:00
Evan You af0bf2a886 async component tests 2016-05-19 23:43:05 -04:00
Evan You 600ebfbaa4 simplify compiler tests 2016-05-19 23:15:58 -04:00
kazuya kawaguchi 0f46d950ec add create-component tests (#2928)
ref: #2872
2016-05-19 14:01:30 -04:00
Evan You 6fe268874c improve codegen for smaller generated code size 2016-05-18 20:57:51 -04:00
kazuya kawaguchi 680baf846e add codegen tests (#2894)
ref #2872
2016-05-18 13:18:31 -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
Jinjiang 1d45c4b9e9 extract style/class/transition as web platform compiler modules (#2885)
* extract style/class/transition as web platform compiler modules

* fixed genData bug

* made module.staticKeys optional in compiler

* changed module.genData just return additional data in compiler

* cached genStaticKeys in compiler optimizer
2016-05-16 21:02:13 -04:00
Evan You da4124c4ca unit tests for v-bind:class 2016-05-16 18:18:51 -04:00
kazuya kawaguchi 6daba53750 add optimizer tests (#2882)
ref: #2872
2016-05-16 12:56:53 -04:00
Evan You eaddbe5739 update track-by usage in test 2016-05-16 01:03:47 -04:00
kazuya kawaguchi b8ffc659e9 add parser tests (#2878)
ref #2872
2016-05-15 16:50:44 -04:00
kazuya kawaguchi b65511e111 add scheduler tests (#2869) 2016-05-14 06:21:46 -04:00
Evan You 45d96c7dbc annotation for vdom (wip) 2016-05-14 03:08:21 -04:00
kazuya kawaguchi 82da272bdf add watcher tests (#2868) 2016-05-13 20:53:09 -04:00
Evan You 7ac7cae195 add error handling for srr 2016-05-12 02:49:11 -04:00
Blake Newman 9b59ccc6b4 Fix issue with renderToString stack length overflowing (#2840)
* Fix issue with renderToString stack length overflowing

* SSR renderToString asyncronous callback
2016-05-12 02:13:38 -04:00
Evan You d6ced71719 prohibit Vue.set/delete on Vue instances 2016-05-12 01:56:01 -04:00
kazuya kawaguchi 64de68b6f5 add observer tests (#2855)
* test: add observer tests

NOTE: bring vue 1.x observer test

* update observer tests
2016-05-12 01:40:50 -04:00
Blake Newman 35440d9856 SSR warn for no VUE_ENV and add tests (#2844)
- Added test coverage for data observation and VUE environment variable
- Moved Test helpers into own folder for reusability
2016-05-12 01:21:53 -04:00
Evan You 07cf6444c6 return this in $mount, make unit tests more consistent 2016-05-11 15:40:50 -04:00
Evan You 76d06ba422 implement $isServer and ssr observation skipping via env variables 2016-05-10 18:03:30 -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 498448284a tweak ssr async resolve, revert $forceUpdate change 2016-05-08 16:59:52 -04:00
Evan You 270b0ac021 Merge branch 'ssr-improvements' of git://github.com/blake-newman/vue into ssr 2016-05-08 14:51:11 -04:00
Evan You be2e79df27 fix ssr tests 2016-05-08 00:14:44 -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
Blake Newman a233e4dbfa improved SSR rendering
- Reduced duplicated code
- Added more test coverage
- Added syncronous component resolving support
- Fixed component lifecycle
- Added raw render method, to allow custom streaming possibilities
2016-05-07 17:56:18 +01:00
Evan You 68372ea26b update track-by usage 2016-05-04 16:48:47 -04:00
Takuya Tejima 49d5f2f393 Suppress a warning 'Unknown custom element' with SSR <img> tag 2016-05-04 11:36:16 -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 4191f251af adjust ssr API so that user can provide server-side implementations for custom directives 2016-04-26 00:42:49 -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 38540b07e4 add server-rendered mark for ssr output 2016-04-25 21:29:58 -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 d08cf7c320 streaming renderer! 2016-04-25 19:10:33 -04:00
Evan You 2111709e57 assert setting state in created hook works in ssr 2016-04-25 17:15:46 -04:00
Evan You 018b0e5440 ssr hoc component (failing) 2016-04-25 16:43:30 -04:00
Evan You 83ea6ef85d update ssr with tests 2016-04-25 16:37:20 -04:00
Evan You fff89dff1e add waitForUpdate as allowed global in unit tests 2016-04-25 13:44:28 -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
Evan You a04ff9dcc7 remove deprecated code 2016-04-24 13:28:26 -04:00
Evan You 9ce3693021 setup unit test 2016-04-23 20:00:38 -04:00
Evan You 6dd3d5b4c4 add a step to commits e2e test 2016-04-23 17:06:43 -04:00
Evan You d0c99b1cdb make modal test more stable in chrome (all e2e tests pass) 2016-04-21 19:29:35 -04:00
Evan You a9fbc0b738 remove old e2e tests 2016-04-21 19:24:23 -04:00
Evan You 5807adcf1f e2e test for todomvc 2016-04-21 19:23:13 -04:00
Evan You c942793b8c e2e tests for tree 2016-04-21 18:19:09 -04:00
Evan You 6170a55d15 e2e test for svg 2016-04-21 18:02:08 -04:00
Evan You b38b4b2907 fix watch in firefox again + e2e test for select2 2016-04-21 17:54:34 -04:00
Evan You f9c3d70526 modal e2e test 2016-04-21 17:33:51 -04:00
Evan You c403f5635b grid e2e test 2016-04-21 17:22:58 -04:00
Evan You 7b180cd01b commits e2e test 2016-04-21 17:10:54 -04:00
Evan You 0220fc310e allow runner to run sub tests 2016-04-21 17:03:43 -04:00
Evan You 04b8a7533c markdown test pass 2016-04-21 16:47:31 -04:00
Evan You 4d018cbe9f start switching to nightwatch 2016-04-21 16:20:29 -04:00
Evan You da42ca8203 add e2e test for modal 2016-04-20 18:29:59 -04:00
Evan You 2ef8d1028b add e2e test for select2 2016-04-16 13:26:17 -04:00
Evan You ceab86d9df add e2e tests 2016-04-16 04:12:37 -04:00