Skip to content

Commit

Permalink
chore: publish v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Jun 14, 2021
1 parent 21f3ab1 commit 1999417
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
6 changes: 5 additions & 1 deletion packages/server-test-utils/dist/vue-server-test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1885,9 +1885,13 @@ function vmMatchesName(vm, name) {
// We want to mirror how Vue resolves component names in SFCs:
// For example, <test-component />, <TestComponent /> and `<testComponent />
// all resolve to the same component
var componentName = vm.name || (vm.$options && vm.$options.name) || '';
var componentName = isFunctionalComponent(vm)
? vm.name
: vm.$options && vm.$options.name;

return (
!!name &&
!!componentName &&
(componentName === name ||
// testComponent -> TestComponent
componentName === capitalize(name) ||
Expand Down
8 changes: 7 additions & 1 deletion packages/test-utils/dist/vue-test-utils.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -2713,9 +2713,13 @@ var VueTestUtils = (function (exports, Vue, vueTemplateCompiler) {
// We want to mirror how Vue resolves component names in SFCs:
// For example, <test-component />, <TestComponent /> and `<testComponent />
// all resolve to the same component
var componentName = vm.name || (vm.$options && vm.$options.name) || '';
var componentName = isFunctionalComponent(vm)
? vm.name
: vm.$options && vm.$options.name;

return (
!!name &&
!!componentName &&
(componentName === name ||
// testComponent -> TestComponent
componentName === capitalize(name) ||
Expand Down Expand Up @@ -14114,10 +14118,12 @@ var VueTestUtils = (function (exports, Vue, vueTemplateCompiler) {
default: 'a'
},
exact: Boolean,
exactPath: Boolean,
append: Boolean,
replace: Boolean,
activeClass: String,
exactActiveClass: String,
exactPathActiveClass: String,
event: {
type: eventTypes,
default: 'click'
Expand Down
8 changes: 7 additions & 1 deletion packages/test-utils/dist/vue-test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2717,9 +2717,13 @@ function vmMatchesName(vm, name) {
// We want to mirror how Vue resolves component names in SFCs:
// For example, <test-component />, <TestComponent /> and `<testComponent />
// all resolve to the same component
var componentName = vm.name || (vm.$options && vm.$options.name) || '';
var componentName = isFunctionalComponent(vm)
? vm.name
: vm.$options && vm.$options.name;

return (
!!name &&
!!componentName &&
(componentName === name ||
// testComponent -> TestComponent
componentName === capitalize(name) ||
Expand Down Expand Up @@ -14118,10 +14122,12 @@ var RouterLinkStub = {
default: 'a'
},
exact: Boolean,
exactPath: Boolean,
append: Boolean,
replace: Boolean,
activeClass: String,
exactActiveClass: String,
exactPathActiveClass: String,
event: {
type: eventTypes,
default: 'click'
Expand Down
8 changes: 7 additions & 1 deletion packages/test-utils/dist/vue-test-utils.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2716,9 +2716,13 @@
// We want to mirror how Vue resolves component names in SFCs:
// For example, <test-component />, <TestComponent /> and `<testComponent />
// all resolve to the same component
var componentName = vm.name || (vm.$options && vm.$options.name) || '';
var componentName = isFunctionalComponent(vm)
? vm.name
: vm.$options && vm.$options.name;

return (
!!name &&
!!componentName &&
(componentName === name ||
// testComponent -> TestComponent
componentName === capitalize(name) ||
Expand Down Expand Up @@ -14117,10 +14121,12 @@
default: 'a'
},
exact: Boolean,
exactPath: Boolean,
append: Boolean,
replace: Boolean,
activeClass: String,
exactActiveClass: String,
exactPathActiveClass: String,
event: {
type: eventTypes,
default: 'click'
Expand Down

0 comments on commit 1999417

Please sign in to comment.