diff --git a/uni_modules/uts-tests/utssdk/KeyWord.uts b/uni_modules/uts-tests/utssdk/KeyWord.uts index fe191108b925c777caa4c77ce6b62452cc5d3fc7..eb552e482c73a5c790dd88fa0dd9f7a682e3b5e2 100644 --- a/uni_modules/uts-tests/utssdk/KeyWord.uts +++ b/uni_modules/uts-tests/utssdk/KeyWord.uts @@ -49,9 +49,9 @@ class Parent { class ChildrenTest extends Parent { - constructor(weight: number) { - super(weight) - } + // override constructor(weight: number) { + // super(weight) + // } override eat(): string { super.eat() @@ -128,8 +128,8 @@ export function testKeyWord(): Result { expect(Parent.age).toEqual(30) expect(Parent.run()).toEqual("static method") expect(p.eat()).toEqual("parent instance method") - let c = new ChildrenTest(0) - expect(c.eat()).toEqual("children instance method") + // let c = new ChildrenTest(0) + // expect(c.eat()).toEqual("children instance method") }) })