@testing-library/vue
Advanced tools
Comparing version 8.0.1 to 8.0.2
@@ -80,3 +80,2 @@ "use strict"; | ||
} | ||
return null; | ||
@@ -83,0 +82,0 @@ }; |
@@ -15,4 +15,4 @@ "use strict"; | ||
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } | ||
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } | ||
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); } | ||
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
@@ -19,0 +19,0 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } |
{ | ||
"name": "@testing-library/vue", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"description": "Simple and complete Vue DOM testing utilities that encourage good testing practices.", | ||
@@ -83,2 +83,7 @@ "main": "dist/index.js", | ||
}, | ||
"peerDependenciesMeta": { | ||
"@vue/compiler-sfc": { | ||
"optional": true | ||
} | ||
}, | ||
"husky": { | ||
@@ -85,0 +90,0 @@ "hooks": { |
@@ -30,3 +30,2 @@ <div align="center"> | ||
<!-- prettier-ignore-start --> | ||
[![Build Status][build-badge]][build] | ||
[![Coverage Status][coverage-badge]][coverage] | ||
@@ -70,3 +69,3 @@ [![GitHub version][github-badge]][github] | ||
This library has `peerDependencies` listings for `Vue 3` and | ||
`vue-template-compiler`. | ||
`@vue/compiler-sfc`. | ||
@@ -134,3 +133,3 @@ You may also be interested in installing `jest-dom` so you can use [the custom | ||
> as `.toBeInTheDocument()`. In the example above, you could write | ||
> `expect(screen.queryByText('Times clicked: 0')).toBeInTheDocument()`. | ||
> `expect(screen.getByText('Times clicked: 0')).toBeInTheDocument()`. | ||
@@ -249,4 +248,2 @@ > Using `byText` queries it's not the only nor the best way to query for | ||
<!-- prettier-ignore-start --> | ||
[build-badge]: https://img.shields.io/github/workflow/status/testing-library/vue-testing-library/validate?logo=github | ||
[build]: https://github.com/testing-library/vue-testing-library/actions?query=workflow%3Avalidate | ||
[coverage-badge]: https://img.shields.io/codecov/c/github/testing-library/vue-testing-library.svg | ||
@@ -253,0 +250,0 @@ [coverage]: https://codecov.io/github/testing-library/vue-testing-library |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29937
276