Blake Newman
8e35604dab
added pre directive tests ( #2891 )
9 years ago
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
9 years ago
Evan You
da4124c4ca
unit tests for v-bind:class
9 years ago
kazuya kawaguchi
6daba53750
add optimizer tests ( #2882 )
ref: #2872
9 years ago
Evan You
eaddbe5739
update track-by usage in test
9 years ago
kazuya kawaguchi
b8ffc659e9
add parser tests ( #2878 )
ref #2872
9 years ago
kazuya kawaguchi
b65511e111
add scheduler tests ( #2869 )
9 years ago
Evan You
45d96c7dbc
annotation for vdom (wip)
9 years ago
kazuya kawaguchi
82da272bdf
add watcher tests ( #2868 )
9 years ago
Evan You
7ac7cae195
add error handling for srr
9 years ago
Blake Newman
9b59ccc6b4
Fix issue with renderToString stack length overflowing ( #2840 )
* Fix issue with renderToString stack length overflowing
* SSR renderToString asyncronous callback
9 years ago
Evan You
d6ced71719
prohibit Vue.set/delete on Vue instances
9 years ago
kazuya kawaguchi
64de68b6f5
add observer tests ( #2855 )
* test: add observer tests
NOTE: bring vue 1.x observer test
* update observer tests
9 years ago
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
9 years ago
Evan You
07cf6444c6
return this in $mount, make unit tests more consistent
9 years ago
Evan You
76d06ba422
implement $isServer and ssr observation skipping via env variables
9 years ago
Evan You
2021b1f36f
layout unit test files
9 years ago
Evan You
6593be9f75
update unit tests convention + basic component tests
9 years ago
Evan You
498448284a
tweak ssr async resolve, revert $forceUpdate change
9 years ago
Evan You
be2e79df27
fix ssr tests
9 years ago
Evan You
5fb1a549d2
make attr behavior more consistent + fix tests
9 years ago
Takuya Tejima
ae78813606
[Vue 2.0] Fix BooleanAttr & EnumeratedAttr serialization ( #2810 )
* fix attr serialization
* Add attribute test cases
9 years ago
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
9 years ago
Evan You
68372ea26b
update track-by usage
9 years ago
Takuya Tejima
49d5f2f393
Suppress a warning 'Unknown custom element' with SSR <img> tag
9 years ago
Evan You
f0f2b76183
fix eslint
9 years ago
Evan You
2f0222b41c
layout test files
9 years ago
Evan You
72b74a23e4
improve v-for unit tests
9 years ago
Evan You
2679653362
test for Vue.compile
9 years ago
Evan You
e275b75af8
test/fix global filter registration
9 years ago
Evan You
cab88c50bb
fix child component v-on spec
9 years ago
Evan You
680bd042c9
fix v-on test capture
9 years ago
Jinjiang
25efaf2163
[next] v-on test ( #2741 )
* ensure babel-env during build
* v-on test
* fixed build script
9 years ago
Blake Newman
681dc603e4
added v-once directive unit tests ( #2740 )
9 years ago
Evan You
26b776fa81
add placeholders for unit tests
9 years ago
Evan You
4191f251af
adjust ssr API so that user can provide server-side implementations for custom directives
9 years ago
Evan You
3dc6088d53
use more reliable display check for v-show tests (fix it in PhantomJS)
9 years ago
Evan You
bf14a05f3e
fix spelling
9 years ago
Evan You
f550933334
fix unit tests in Firefox/Safari
9 years ago
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
9 years ago
Evan You
38540b07e4
add server-rendered mark for ssr output
9 years ago
Evan You
9a2c8db4c8
get rid of new function in core so that runtime is fully CSP-compliant
9 years ago
Evan You
d08cf7c320
streaming renderer!
9 years ago
Evan You
2111709e57
assert setting state in created hook works in ssr
9 years ago
Evan You
018b0e5440
ssr hoc component (failing)
9 years ago
Evan You
83ea6ef85d
update ssr with tests
9 years ago
Evan You
fff89dff1e
add waitForUpdate as allowed global in unit tests
9 years ago
Evan You
4540aaf37d
fix async failure
9 years ago
Evan You
75ce539b49
use custom async chaining assertion utility
9 years ago
Evan You
7169d14179
update if tests
9 years ago