Match-id-38f76aafad7b269e2beed396a0ef1c14487adfc3

This commit is contained in:
* 2022-03-13 13:13:06 +08:00 committed by *
parent 5a06b9b663
commit 4d2cd8276a
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import * as LogUtils from '../jest/logUtils';
import { act } from '../jest/customMatcher'; import { act } from '../jest/customMatcher';
describe('useEffect Hook Test', () => { describe('useEffect Hook Test', () => {
const { useEffect, useLayoutEffect, useState, memo, forwardRef, useImperativeHandle } = React; const { useEffect, useLayoutEffect, useState, memo, forwardRef } = React;
const { unmountComponentAtNode } = HorizonDOM; const { unmountComponentAtNode } = HorizonDOM;
let container = null; let container = null;
beforeEach(() => { beforeEach(() => {

View File

@ -1,7 +1,6 @@
import { runAsyncEffects, callUseEffects } from '../../../libs/horizon/src/renderer/submit/HookEffectHandler'; import { runAsyncEffects } from '../../../libs/horizon/src/renderer/submit/HookEffectHandler';
import { callRenderQueueImmediate } from '../../../libs/horizon/src/renderer/taskExecutor/RenderQueue'; import { callRenderQueueImmediate } from '../../../libs/horizon/src/renderer/taskExecutor/RenderQueue';
import { asyncUpdates } from '../../../libs/horizon/src/renderer/TreeBuilder'; import { asyncUpdates } from '../../../libs/horizon/src/renderer/TreeBuilder';
import { runAsync } from '../../../libs/horizon/src/renderer/taskExecutor/TaskExecutor';
function runAssertion(fn) { function runAssertion(fn) {
try { try {