Skip to content

Commit

Permalink
chore: fix e2e test in phantomjs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 8, 2019
1 parent 9011b83 commit b2a093f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/vdom/helpers/normalize-scoped-slots.js
Expand Up @@ -34,7 +34,7 @@ export function normalizeScopedSlots (
}
// avoriaz seems to mock a non-extensible $scopedSlots object
// and when that is passed down this would cause an error
if (Object.isExtensible(slots)) {
if (slots && Object.isExtensible(slots)) {
(slots: any)._normalized = res
}
def(res, '$stable', slots ? !!slots.$stable : true)
Expand Down

0 comments on commit b2a093f

Please sign in to comment.