diff --git a/tests/src/core/physics/CharacterController.test.ts b/tests/src/core/physics/CharacterController.test.ts index 7b9604b9fd..4a5403e7a8 100644 --- a/tests/src/core/physics/CharacterController.test.ts +++ b/tests/src/core/physics/CharacterController.test.ts @@ -4,7 +4,9 @@ import { PhysXPhysics } from "@galacean/engine-physics-physx"; import { WebGLEngine } from "@galacean/engine-rhi-webgl"; import { expect } from "chai"; -describe("physics collider test", () => { +describe("physics collider test", function () { + this.timeout(5000); + let engine: WebGLEngine; let rootEntity: Entity; let controllerEntity: Entity; diff --git a/tests/src/core/physics/Collider.test.ts b/tests/src/core/physics/Collider.test.ts index f7ac895b74..f2d9b32637 100644 --- a/tests/src/core/physics/Collider.test.ts +++ b/tests/src/core/physics/Collider.test.ts @@ -38,7 +38,9 @@ class MoveScript extends Script { } } -describe("physics collider test", () => { +describe("physics collider test", function () { + this.timeout(5000); + let engine: WebGLEngine; let rootEntity: Entity; let boxEntity: Entity;