vue-test-utils-compat
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -0,1 +1,5 @@ | ||
# 0.0.5 | ||
- Prevent crash if directives is not defined | ||
# 0.0.4 | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "vue-test-utils-compat", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Compat layer for @vue/test-utils@2.x", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -165,3 +165,3 @@ const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1); | ||
...normalizeStubs(stubs), | ||
...(config.MOUNT_ARGS_DIRECTIVES | ||
...(config.MOUNT_ARGS_DIRECTIVES && directives | ||
? Object.fromEntries(Object.entries(directives).map(([k, v]) => [`v${capitalize(k)}`, v])) | ||
@@ -168,0 +168,0 @@ : {}), |
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
80249