vue-test-utils-compat
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -31,3 +31,3 @@ 'use strict'; | ||
const normalizedDisabled = originalAttributes.disabled === "" ? "disabled" : originalAttributes.disabled; | ||
const normalizedDisabled = typeof originalAttributes.disabled === "string" ? "disabled" : originalAttributes.disabled; | ||
const normalizedAttributes = { ...originalAttributes }; | ||
@@ -34,0 +34,0 @@ if (compatConfig.WRAPPER_ATTRIBUTES_VALUE && "value" in wrapper.element) { |
@@ -29,3 +29,3 @@ function install$3(VTU, compatConfig) { | ||
const normalizedDisabled = originalAttributes.disabled === "" ? "disabled" : originalAttributes.disabled; | ||
const normalizedDisabled = typeof originalAttributes.disabled === "string" ? "disabled" : originalAttributes.disabled; | ||
const normalizedAttributes = { ...originalAttributes }; | ||
@@ -32,0 +32,0 @@ if (compatConfig.WRAPPER_ATTRIBUTES_VALUE && "value" in wrapper.element) { |
{ | ||
"name": "vue-test-utils-compat", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Compat layer for @vue/test-utils@2.x", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-test-utils-compat.cjs.js", |
@@ -29,3 +29,3 @@ export function install(VTU, compatConfig) { | ||
const normalizedDisabled = originalAttributes.disabled === "" ? "disabled" : originalAttributes.disabled; | ||
const normalizedDisabled = typeof originalAttributes.disabled === "string" ? "disabled" : originalAttributes.disabled; | ||
const normalizedAttributes = { ...originalAttributes }; | ||
@@ -32,0 +32,0 @@ if (compatConfig.WRAPPER_ATTRIBUTES_VALUE && "value" in wrapper.element) { |
139194