@vue/test-utils
Advanced tools
Comparing version 1.0.0-beta.24 to 1.0.0-beta.25
@@ -6,2 +6,25 @@ # Change Log | ||
<a name="1.0.0-beta.25"></a> | ||
# [1.0.0-beta.25](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2018-09-08) | ||
### Bug Fixes | ||
* handle global stubs and functional extended components ([#943](https://github.com/vuejs/vue-test-utils/issues/943)) ([0d1ddd1](https://github.com/vuejs/vue-test-utils/commit/0d1ddd1)) | ||
* improve emitted type ([#933](https://github.com/vuejs/vue-test-utils/issues/933)) ([3049c3e](https://github.com/vuejs/vue-test-utils/commit/3049c3e)) | ||
* throw error if unsupported options passed in vue < 2.3 ([#910](https://github.com/vuejs/vue-test-utils/issues/910)) ([e8d9547](https://github.com/vuejs/vue-test-utils/commit/e8d9547)) | ||
### Features | ||
* **wrapper:** add support for getting prop, attribute and classes by key ([#941](https://github.com/vuejs/vue-test-utils/issues/941)) ([9bb9a87](https://github.com/vuejs/vue-test-utils/commit/9bb9a87)) | ||
### Performance Improvements | ||
* use extends over createLocalVue ([#934](https://github.com/vuejs/vue-test-utils/issues/934)) ([af45a9d](https://github.com/vuejs/vue-test-utils/commit/af45a9d)) | ||
<a name="1.0.0-beta.24"></a> | ||
@@ -8,0 +31,0 @@ # [1.0.0-beta.24](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2018-08-05) |
{ | ||
"name": "@vue/test-utils", | ||
"version": "1.0.0-beta.24", | ||
"version": "1.0.0-beta.25", | ||
"description": "Utilities for testing Vue components.", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-test-utils.js", |
@@ -59,4 +59,7 @@ import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions } from 'vue' | ||
attributes(): { [name: string]: string } | ||
attributes(key: string): string | void | ||
classes(): Array<string> | ||
classes(className: string): boolean | ||
props(): { [name: string]: any } | ||
props(key: string): any | void | ||
@@ -108,3 +111,4 @@ hasAttribute (attribute: string, value: string): boolean | ||
emitted (event?: string): { [name: string]: Array<Array<any>> } | ||
emitted (): { [name: string]: Array<Array<any>> } | ||
emitted (event: string): Array<any> | ||
emittedByOrder (): Array<{ name: string, args: Array<any> }> | ||
@@ -130,7 +134,7 @@ } | ||
localVue?: typeof Vue | ||
mocks?: object | ||
mocks?: object | false | ||
parentComponent?: Component | ||
slots?: Slots | ||
scopedSlots?: Record<string, string> | ||
stubs?: Stubs, | ||
stubs?: Stubs | false, | ||
attrs?: Record<string, string> | ||
@@ -137,0 +141,0 @@ listeners?: Record<string, Function | Function[]> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
464573
14931