diff --git a/packages/ecs/test/component.ts b/packages/ecs/test/component.ts index 6410227879..8e9fe427dc 100644 --- a/packages/ecs/test/component.ts +++ b/packages/ecs/test/component.ts @@ -112,5 +112,9 @@ group( }); }, }, - { beforeEach: () => (ecs = new ECS({ capacity: 16 })) } + { + beforeEach: () => { + ecs = new ECS({ capacity: 16 }); + }, + } ); diff --git a/packages/ecs/test/group.ts b/packages/ecs/test/group.ts index f8a4e3938a..e511ea784f 100644 --- a/packages/ecs/test/group.ts +++ b/packages/ecs/test/group.ts @@ -49,6 +49,8 @@ group( }, }, { - beforeEach: () => (ecs = new ECS({ capacity: 16 })), + beforeEach: () => { + ecs = new ECS({ capacity: 16 }); + }, } );