vue-test-utils

Component Test Utils for Vue 2

MIT License

Downloads
80.2K
Stars
3.6K
Committers
316

Bot releases are hidden (Show)

vue-test-utils - v1.0.0-beta.32

Published by lmiller1990 over 4 years ago

Bug Fixes

vue-test-utils -

Published by dobromir-hristov over 4 years ago

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
vue-test-utils - v1.0.0-beta.30

Published by eddyerburgh almost 5 years ago

@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
vue-test-utils - v1.0.0-beta.29

Published by eddyerburgh over 5 years ago

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

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

Bug Fixes

BREAKING CHANGES

vue-test-utils - v1.0.0-beta.28

Published by eddyerburgh almost 6 years ago

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

Bug Fixes

vue-test-utils - v1.0.0-beta.27

Published by eddyerburgh almost 6 years ago

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

Bug Fixes

Features

vue-test-utils - v1.0.0-beta.26

Published by eddyerburgh almost 6 years ago

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

Bug Fixes

Features

BREAKING CHANGES

  • The tag name rendered by snapshots will use the rendered component tag, rather than the registered component name
vue-test-utils - v1.0.0-beta.25

Published by eddyerburgh about 6 years ago

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)
vue-test-utils - v1.0.0-beta.24

Published by eddyerburgh about 6 years ago

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

Bug Fixes

Features

  • support scopedSlots mounting option for functional component (#893) (7a04ff4)
vue-test-utils - v1.0.0-beta.22

Published by eddyerburgh about 6 years ago

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)
vue-test-utils - v1.0.0-beta.21

Published by eddyerburgh about 6 years ago

Bug Fixes

Features

vue-test-utils - v1.0.0-beta.20

Published by eddyerburgh over 6 years ago

1.0.0-beta.20 (2018-06-24)

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 set (#749) (fb46268)
vue-test-utils - v1.0.0-beta.19

Published by eddyerburgh over 6 years ago

1.0.0-beta.19 (2018-06-14)

Bug Fixes

Features

vue-test-utils - v1.0.0-beta.18

Published by eddyerburgh over 6 years ago

1.0.0-beta.18 (2018-06-09)

Bug Fixes

vue-test-utils -

Published by eddyerburgh over 6 years ago

vue-test-utils -

Published by eddyerburgh over 6 years ago

vue-test-utils -

Published by eddyerburgh over 6 years ago

vue-test-utils - v1.0.0-beta.17

Published by eddyerburgh over 6 years ago

1.0.0-beta.17 (2018-06-09)

Bug Fixes

Features

BREAKING CHANGES

  • removes templates from slots
vue-test-utils - v1.0.0-beta.16

Published by eddyerburgh over 6 years ago

1.0.0-beta.16 (2018-05-11)

Bug Fixes

Features

vue-test-utils - v1.0.0-beta.15

Published by eddyerburgh over 6 years ago

1.0.0-beta.15 (2018-04-23)

Features

  • add scoped slots option (#507) (e6a54b2)
  • allow mocks and methods to be set in config object (#531) (9960f7c)
Package Rankings
Top 0.95% on Npmjs.org
Top 18.4% on Repo1.maven.org
Top 6.71% on Proxy.golang.org
Badges
Extracted from project README
Build Status