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
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
9 years ago
Evan You
e649795596
improve linting
9 years ago
Jinjiang
84549215bf
global api tests ( #6 )
* Vue.set & Vue.delete tests
* more global api tests
* new es2015 syntax
9 years ago
Evan You
213aaf3203
use arrow fns in tests
9 years ago
Evan You
4c6ed93a36
global config tests
9 years ago
Evan You
a04ff9dcc7
remove deprecated code
9 years ago
Evan You
9ce3693021
setup unit test
9 years ago
Evan You
6dd3d5b4c4
add a step to commits e2e test
9 years ago
Evan You
d0c99b1cdb
make modal test more stable in chrome (all e2e tests pass)
9 years ago
Evan You
a9fbc0b738
remove old e2e tests
9 years ago
Evan You
5807adcf1f
e2e test for todomvc
9 years ago
Evan You
c942793b8c
e2e tests for tree
9 years ago
Evan You
6170a55d15
e2e test for svg
9 years ago
Evan You
b38b4b2907
fix watch in firefox again + e2e test for select2
9 years ago