未验证 提交 b7fd3252 编写于 作者: O openharmony_ci 提交者: Gitee

!4865 修复effectKit的xts测试编译错误问题

Merge pull request !4865 from 熊大伟/xts_effect
...@@ -16,7 +16,6 @@ export default class MainAbility extends Ability { ...@@ -16,7 +16,6 @@ export default class MainAbility extends Ability {
// Main window is created, set main page for this ability // Main window is created, set main page for this ability
console.log("[Demo] MainAbility onWindowStageCreate windowStage="+ windowStage) console.log("[Demo] MainAbility onWindowStageCreate windowStage="+ windowStage)
globalThis.windowStage = windowStage globalThis.windowStage = windowStage
globalThis.abilityStorage = this.storage
globalThis.abilityContext = this.context globalThis.abilityContext = this.context
windowStage.setUIContent(this.context, "pages/index/index", null) windowStage.setUIContent(this.context, "pages/index/index", null)
} }
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
*/ */
import file from '@system.file'; import file from '@system.file';
import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets" import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
import testsuite from "../../test/List.test.ets" import testsuite from "../../test/List.test"
@Entry @Entry
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import effectKitTest from './effectKit.test.ets' import effectKitTest from './effectKit.test'
export default function testsuite(context, windowStage, abilityStorage) { export default function testsuite(context, windowStage, abilityStorage) {
effectKitTest() effectKitTest()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册