Skip to content

Releases: vuejs/vue-test-utils

v1.0.0-beta.32

09 Mar 10:57
Compare
Choose a tag to compare
v1.0.0-beta.32 Pre-release
Pre-release

Bug Fixes

v1.0.0-beta.31

20 Jan 14:31
Compare
Choose a tag to compare
v1.0.0-beta.31 Pre-release
Pre-release

Bug Fixes

  • Stop trigger from working on disabled html elements (#1362)
  • Add provide/inject support for Composition API (#1354)
  • Fix issue with keyCodes provided to trigger (#1378) closes #1285, #1295
  • setChecked and setSelected should only work if not already selected (#1380) closes #1339
  • Override watch definitions properly (#1392) closes #1391
  • Support v-slot (#1383) closes #1261
  • Allow find to work on both Pascal case and camel case (#1398) closes #1232
  • Pass refs to functional component stubs #1293 closes #1292

Features

  • Allow templates to be defined in HTML (#1362) closes #351
  • Store the selector when using find (#1248) closes #1135
  • Introduce enableAutoDestroy() helper function (#1245) closes #1236
  • Allow negative indices to be passed to .at() (#1244)
  • Add a get method to Wrapper (#1304) closes #1298

v1.0.0-beta.30

16 Dec 12:11
Compare
Choose a tag to compare
v1.0.0-beta.30 Pre-release
Pre-release

@vue/test-utils

Bug Fixes

Code Refactoring

Features

  • wrapper: allow destroy() method to work with functional components (#1188) (f4ea3fd)
  • add option to pretty print html components (#1229) (99336c4)
  • stop auto stubbing transition and transition-group (#1127) (85a972c)

BREAKING CHANGES

@vue/server-test-utils

Bug Fixes

  • return promise from render() and renderToString() (#1164) (3c597d3)
  • types: allow false as a component stub value (#1231) (2a4c6ef)

Code Refactoring

Features

BREAKING CHANGES

  • render() and renderToString() are now async

v1.0.0-beta.29

02 Feb 17:47
Compare
Choose a tag to compare
v1.0.0-beta.29 Pre-release
Pre-release

1.0.0-beta.29 (2019-02-02)

This beta version uses the new Vue async option for synchronous rendering.

Bug Fixes

BREAKING CHANGES

  • Remove hasStyle, hasAttribute, hasClass, hasProp, visible, and setComputed
  • Use Vue async mode, this has caused bugs and will be reverted (see #1137)
  • Remove polyfills from library

v1.0.0-beta.28

29 Dec 11:06
Compare
Choose a tag to compare
v1.0.0-beta.28 Pre-release
Pre-release

1.0.0-beta.28 (2018-12-29)

Bug Fixes

v1.0.0-beta.27

09 Dec 19:58
Compare
Choose a tag to compare
v1.0.0-beta.27 Pre-release
Pre-release

1.0.0-beta.27 (2018-12-09)

Bug Fixes

Features

v1.0.0-beta.26

27 Nov 18:33
Compare
Choose a tag to compare
v1.0.0-beta.26 Pre-release
Pre-release

1.0.0-beta.26 (2018-11-26)

Bug Fixes

  • Add functions to scoped slots typing (#1022) (8db0c20)
  • Create stubs dynamically (#1038) (e1fd705), closes #973 #994 #995
  • Do not remove cached constructors (#962) (71ec3b9)
  • Render all slots inside a vnode (#979) (c04d3bf)
  • Stop extending from constructor functions (#1014) (2648213)
  • Support async components in stubs (#1039) (6a4e19d), closes #1026
  • Use correct event interface (#977) (8771b8f)
  • Features

    BREAKING CHANGES

    • The tag name rendered by snapshots will use the rendered component tag, rather than the registered component name

v1.0.0-beta.25

08 Sep 05:01
Compare
Choose a tag to compare
v1.0.0-beta.25 Pre-release
Pre-release

1.0.0-beta.25 (2018-09-08)

Bug Fixes

  • handle global stubs and functional extended components (#943) (0d1ddd1)
  • improve emitted type (#933) (3049c3e)
  • render all children (#931) (71a2e7b)
  • 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)

v1.0.0-beta.24

05 Aug 15:16
Compare
Choose a tag to compare
v1.0.0-beta.24 Pre-release
Pre-release

1.0.0-beta.24 (2018-08-05)

Bug Fixes

Features

  • support scopedSlots mounting option for functional component (#893) (7a04ff4)

v1.0.0-beta.22

29 Jul 19:34
Compare
Choose a tag to compare
v1.0.0-beta.22 Pre-release
Pre-release

1.0.0-beta.22 (2018-07-29)

Bug Fixes

  • Render unused propsData as component attributes (#865) (c747cd6)
  • Clear static tree for slots render (#862) (c7ac0d9)
  • Handle dynamic imports (#864) (4e739bd)
  • Keep the overrides prototype information of component (#856) (0371793)
  • Render children for functional component stubs (#860) (e2e48dc)
  • Stub globally registered components (#859) (5af3677)
  • Support multiple default slot nodes (#861) (85dd3ec)

Features

  • Add support for JSX scopedSlots value (#871) (13bcaeb)
  • Export createWrapper method to create wrapper from instance (#868) (ebca3b3)
  • Export Wrapper and WrapperArray classes (#866) (c212ebf)
  • Render props on auto stubs (#834) (8db502d)