Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
Bug Fixes
Code Refactoring
BREAKING CHANGES
- Remove polyfills from library
- hasStyle, hasAttribute, hasClass, hasProp, visible, and setComputed removed
Bug Fixes
Bug Fixes
Bug Fixes
Features
BREAKING CHANGES
- The tag name rendered by snapshots will use the rendered component tag, rather than the registered component name
Bug Fixes
- handle global stubs and functional extended components (#943) (0d1ddd1)
- improve emitted type (#933) (3049c3e)
- throw error if unsupported options passed in vue < 2.3 (#910) (e8d9547)
Features
- wrapper: add support for getting prop, attribute and classes by key (#941) (9bb9a87)
Performance Improvements
Bug Fixes
Note: Version bump only for package @vue/test-utils
Bug Fixes
Features
- export createWrapper method to create wrapper from instance (#868) (ebca3b3)
- export wrapper class (#866) (c212ebf)
Bug Fixes
- handle textarea correctly in setValue() and setChecked() (#771) (4c9fe3c)
- types: remove unnecessary method (#755) (2068208)
- broken links for deprecated methods (#786) (5bb6a0b)
- fix type of wrapper.vm (#759) (ff5220d)
- handle cloneDeep errors in createLocalVue (#844) (17dfdc8)
- handle unnamed parent and child components (#768) (71a2ac4)
- improve scopedSlots option (#808) (b946997)
- recursively call Vue.set in setData (#843) (ef01abf)
- setProps() throws an error if the property is the same reference (#791) (bf655f3)
- stubs extended component correctly (#767) (24ab4c5)
- support setValue on textarea (#764) (e83cda2)
- update props when watcher depends on value (#842) (2aeaee3)
- use boolean for VueWrapper (#763) (6fa6ecd)
Features
Bug Fixes
Features
- element, vnode, vm, and options are read-only (#748) (b801c25)
- set wrapper.vm if the element binds Vue instance (#724) (b14afae)
- throw error if the read-only property is tried to change (#749) (fb46268)
Bug Fixes
- include default props in props object (#716) (5bcf574)
- wrapper.setSelected() to work on select with optgroups (#715) (dae0b1c)
Features
Bug Fixes
Bug Fixes
Features
BREAKING CHANGES
- removes templates from slots