Evan You
600ebfbaa4
simplify compiler tests
9 years ago
kazuya kawaguchi
0f46d950ec
add create-component tests ( #2928 )
ref: #2872
9 years ago
Evan You
6fe268874c
improve codegen for smaller generated code size
9 years ago
kazuya kawaguchi
680baf846e
add codegen tests ( #2894 )
ref #2872
9 years ago
Evan You
f8ece6144a
improve waitForUpdate() syntax
9 years ago
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
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
2021b1f36f
layout unit test files
9 years ago
Evan You
6593be9f75
update unit tests convention + basic component 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
Evan You
68372ea26b
update track-by usage
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
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
9a2c8db4c8
get rid of new function in core so that runtime is fully CSP-compliant
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