Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/test-utils

Package Overview
Dependencies
Maintainers
2
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/test-utils - npm Package Compare versions

Comparing version 1.0.0-beta.30 to 1.0.0-beta.31

LICENSE

24

CHANGELOG.md

@@ -6,2 +6,26 @@ # Change Log

# [1.0.0-beta.31](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2020-01-18)
### Bug Fixes
* Stop `trigger` from working on disabled html elements ([#1362](https://github.com/vuejs/vue-test-utils/pull/1362))
* Add provide/inject support for Composition API ([#1354](https://github.com/vuejs/vue-test-utils/pull/1354))
* Fix issue with keyCodes provided to `trigger` ([#1378](https://github.com/vuejs/vue-test-utils/pull/1378)) closes [#1285](https://github.com/vuejs/vue-test-utils/issues/1285), [#1295](https://github.com/vuejs/vue-test-utils/issues/1295)
* setChecked and setSelected should only work if not already selected ([#1380](https://github.com/vuejs/vue-test-utils/pull/1380)) closes [#1339](https://github.com/vuejs/vue-test-utils/issues/1339)
* Override watch definitions properly ([#1392](https://github.com/vuejs/vue-test-utils/pull/1392)) closes [#1391](https://github.com/vuejs/vue-test-utils/issues/1391)
* Support v-slot ([#1383](https://github.com/vuejs/vue-test-utils/pull/1383)) closes [#1261](https://github.com/vuejs/vue-test-utils/issues/1261)
* Allow find to work on both Pascal case and camel case ([#1398](https://github.com/vuejs/vue-test-utils/pull/1398)) closes [#1232](https://github.com/vuejs/vue-test-utils/issues/1232)
* Pass refs to functional component stubs [#1293](https://github.com/vuejs/vue-test-utils/pull/1293) closes [#1292](https://github.com/vuejs/vue-test-utils/issues/1292)
### Features
* Allow templates to be defined in HTML ([#1362](https://github.com/vuejs/vue-test-utils/pull/1320)) closes [#351](https://github.com/vuejs/vue-test-utils/issues/351)
* Store the selector when using `find` ([#1248](https://github.com/vuejs/vue-test-utils/pull/1248)) closes [#1135](https://github.com/vuejs/vue-test-utils/issues/1135)
* Introduce enableAutoDestroy() helper function ([#1245](https://github.com/vuejs/vue-test-utils/pull/1245)) closes [#1236](https://github.com/vuejs/vue-test-utils/issues/1236)
* Allow negative indices to be passed to .at() ([#1244](https://github.com/vuejs/vue-test-utils/pull/1244))
* Add a get method to Wrapper ([#1304](https://github.com/vuejs/vue-test-utils/pull/1304)) closes [#1298](https://github.com/vuejs/vue-test-utils/issues/1298)
<a name="1.0.0-beta.30"></a>

@@ -8,0 +32,0 @@ # [1.0.0-beta.30](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2019-11-28)

5

package.json
{
"name": "@vue/test-utils",
"version": "1.0.0-beta.30",
"version": "1.0.0-beta.31",
"description": "Utilities for testing Vue components.",

@@ -34,3 +34,4 @@ "main": "dist/vue-test-utils.js",

"pretty": "^2.0.0"
}
},
"gitHead": "16307995f675c228bf96e5d12d6aa9c043861483"
}

@@ -72,2 +72,3 @@ import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions, Component } from 'vue'

destroy (): void
selector: Selector | void
}

@@ -80,2 +81,9 @@

get<R extends Vue> (selector: VueClass<R>): Wrapper<R>
get<R extends Vue> (selector: ComponentOptions<R>): Wrapper<R>
get (selector: FunctionalComponentOptions): Wrapper<Vue>
get (selector: string): Wrapper<Vue>
get (selector: RefSelector): Wrapper<Vue>
get (selector: NameSelector): Wrapper<Vue>
find<R extends Vue> (selector: VueClass<R>): Wrapper<R>

@@ -82,0 +90,0 @@ find<R extends Vue> (selector: ComponentOptions<R>): Wrapper<R>

dist/vue-test-utils.iife.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc