Match-id-33d03d13bb50e96e6db086f816052cd2a6c6d7ae

This commit is contained in:
* 2022-04-12 19:39:55 +08:00 committed by *
parent ed95b1dbd6
commit c3a580fc97
2 changed files with 1 additions and 14 deletions

View File

@ -1,9 +1,9 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import * as Horizon from '@cloudsop/horizon/index.ts';
import * as LogUtils from '../jest/logUtils';
import { act } from '../jest/customMatcher';
describe('Dom Input', () => {
const { act } = Horizon;
describe('type checkbox', () => {
it('没有设置checked属性时控制台不会报错', () => {

View File

@ -1,13 +0,0 @@
import { runAsyncEffects } from '../../../libs/horizon/src/renderer/submit/HookEffectHandler';
import { callRenderQueueImmediate } from '../../../libs/horizon/src/renderer/taskExecutor/RenderQueue';
import { asyncUpdates } from '../../../libs/horizon/src/renderer/TreeBuilder';
const act = (fun) => {
asyncUpdates(fun);
callRenderQueueImmediate();
runAsyncEffects();
};
module.exports = {
act
};