Skip to content

Commit 24ee933

Browse files
committed
fix failing test
1 parent b9d7ed6 commit 24ee933

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function Component(options) {
168168
var Super = superProto instanceof Vue
169169
? superProto.constructor
170170
: Vue;
171-
return Super.extend(options);
171+
return Super['extend'](options);
172172
};
173173
if (options instanceof Function) {
174174
return factory(options);

src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export function Component(options?): ClassDecorator {
180180
var Super = superProto instanceof Vue
181181
? superProto.constructor
182182
: Vue
183-
return Super.extend(options)
183+
return Super['extend'](options)
184184

185185
}
186186

test/es6/test.build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7373

74-
describe('ES6 vue-class-component based test (js)', function () {
74+
describe('vue-class-component based test (js)', function () {
7575

7676
it('hooks', function () {
7777
var _class;

0 commit comments

Comments
 (0)