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