vue-test-utils

Component Test Utils for Vue 2

MIT License

Downloads
80.2K
Stars
3.6K
Committers
316

Bot releases are visible (Hide)

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

Published by eddyerburgh over 6 years ago

1.0.0-beta.14 (2018-04-13)

Bug Fixes

  • Order watchers after trigger (#510) (8fee45a)

  • Sort dependencies (#505) (c91c989)

  • Throw error if stub contains circular reference (#504) (881588a)

  • types: update packages/server-test-utils/types/index.d.ts (#524) (7035bad)

  • types: update packages/test-utils/types/index.d.ts (#522) (42f4a64)

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

Published by eddyerburgh over 6 years ago

1.0.0-beta.13 (2018-03-26)

vue-test-utils has been split into two packages: @vue/test-utils and @vue/server-test-utils.

Test Utils

Bug Fixes

  • add isVisible type (#478) (93c6ba5)
  • add isVisible typos and missing tests (#464) (18eb193)
  • add RouterLinkStub in typescript definition (#449) (ad3c4ef)
  • classes() for svg elements (#445) (bcf580e)
  • return true in isEmpty if child isComment (#475) (073755b)
  • throw errors in setData and setProps for functional components (#438) (619f934)

Features

  • sync: remove update and make watchers sync by default (#474) (1da0c6e)

Server Test Utils

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

Published by eddyerburgh over 6 years ago

v1.0.0-beta.12 (2018-02-20)

Features

  • renderToString: Add renderToString method. This method requires vue-server-renderer as a peer dependency #440

Bug Fixes

  • add-attrs and add-listeners correctly restore silent config option (#428) (6fa6e06)
  • allow plugins to be re-installed in localVue instance (fixes #406) (#411) (9381736)
  • check for errors on child components (#415) (a06e253)
  • compile stub components without render functions (#390) (b792034)
  • don't fire event on disabled element (#424) (e85f20a)
  • find functional components in shallow (#408) (20465ab)
  • remove console.log from stubComponents (#414) (81c40da)
  • setProps validates keys against component options (#416) (a63e34d)
  • transition does not add classes to child components (#423) (fc821a2)
  • typing error with props and attributes (#433) (cf55756), closes #432
vue-test-utils - v1.0.0-beta.11

Published by eddyerburgh over 6 years ago

v1.0.0-beta.11 (2018-01-27)

Bug Fixes

  • accept all valid components in stubs option (#389) f224048, closes #389
  • add support for DOM nodes outside of VDOM 65023b0, closes #361
  • delete any recursive components in shallow 3508a16
  • error being thrown with Vue.extend when functional (#359) 48928e1, closes #359
  • log key that cannot be overwritten (#367) 5697fea, closes #367
  • stub extended component children in shallow 2f8e0b1
  • update $props object in setProps (#381) 6689dbc, closes #381

Features

  • visible: add visible() method on Wrapper (#327) (#335) 445a72d, closes #327 #335
  • add filter method to WrapperArray (#388) 1690ed2, closes #388
  • add RouterLinkStub (#366) 5dbb8cb, closes #366
  • remove dev tool log b320339
vue-test-utils - v1.0.0-beta.10

Published by eddyerburgh almost 7 years ago

v1.0.0-beta.10 (2018-01-10)

Bug Fixes

  • #306 issue with typescript types. (#307) 1482c2b
  • types: make compatible with Vue 2.5 and TypeScript 2.6 (#317) fad069d
  • compile uncompiled components 562fd33, closes #329
  • make find work for unnamed components in shallow 60dde1e
  • run watchers before updating component c095221
  • throw error if functional find not supported d064eaa, closes #296

Features

  • add attributes, classes, and props to wrapper type definitions (#311) 45a445b
vue-test-utils - v1.0.0-beta.9

Published by eddyerburgh almost 7 years ago

1.0.0-beta.9 (2017-12-27)

Bug Fixes

  • setComputed: permanently update computed watcher when called ebccc8d, closes #273
  • add create-wrapper 6cb1711
  • add support for uncompiled extended components 359c805
  • find ref childComponent (#268) 256086b
  • handle extended components in find 07ec920
  • remove preventDefault from options 195449e, closes #211
  • render node transition is dynamic 72c386b, closes #52
  • set vuex watcher getter (#287) 2bf5489
  • throw error if target is set in options 3c870a1
  • wrapper.attributes() method (#265) 1897300

build

  • remove amd build dc3bdd2

Features

  • contains: refactor contains to include root element 4543c4f, closes #24
  • support unnamed component selectors df706fe
  • find: improve support for functional components 27e9d79
  • find: support functional components d6bf1b8
  • slots: Improve passing text to slots (#274) a9dd893
  • update: run watchers in update e4151b0, closes #283

BREAKING CHANGES

  • contains: this changes the contains behavior to include the root element.
  • amd build will no longer be generated. You should use
    the umd build instead
vue-test-utils - v1.0.0-beta.8

Published by eddyerburgh almost 7 years ago

v1.0.0-beta.8 (2017-12-14)

Bug Fixes

  • return array of classes from classes method fa4d8c7
  • remove debugger from src
vue-test-utils - v1.0.0-beta.6

Published by eddyerburgh almost 7 years ago

Bug Fixes

  • add config stubs to array when stubs is an array 7962b88
  • delete mounting options before extending component d645037
  • handle default slots in functional components;2C ff97e28
  • handle named functional slots d9e368b
  • pass children to functional component 5fc1c57
  • run watchers in setData 4fae8da, closes #149
  • set errorr on vm before we rethrow it in error handler ade28d5
  • support named functional slots d27becb

Features

  • config: add config a7641b4
  • errors: propogate thrown errors by configuring error handler (#154) 3f3c64a, closes #147
  • selector: add refs option (#68) 24bfb95
  • text: trim text by default a974042
  • types: add missing wrappers type def in ArrayWrapper (#164) b3c12c4
  • add classes, attributes, and props methods (#141) 12de854
  • emit api (#181) 2f77544
vue-test-utils - v1.0.0-beta.2

Published by eddyerburgh about 7 years ago

vue-test-utils -

Published by yyx990803 about 7 years ago

vue-test-utils -

Published by yyx990803 about 7 years ago

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