From 9cbc9956b485d6382f939849d4934008af48a5d1 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 28 Jan 2024 08:10:50 -0600 Subject: [PATCH] refactor: async --- packages/entity/test/alive.js | 2 +- packages/entity/test/directional.js | 2 +- packages/entity/test/entity.js | 2 +- packages/entity/test/json.js | 2 +- packages/entity/test/mobile.js | 2 +- packages/entity/test/perishable.js | 2 +- packages/entity/test/positioned.js | 2 +- packages/entity/test/spawner.js | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/entity/test/alive.js b/packages/entity/test/alive.js index 7b89172..0ff0b8c 100644 --- a/packages/entity/test/alive.js +++ b/packages/entity/test/alive.js @@ -6,7 +6,7 @@ import {expect} from 'chai'; let flecks; let Entity; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/behavior': require('@avocado/behavior'), '@avocado/entity': require('@avocado/entity'), diff --git a/packages/entity/test/directional.js b/packages/entity/test/directional.js index e29748b..5bb3c41 100644 --- a/packages/entity/test/directional.js +++ b/packages/entity/test/directional.js @@ -6,7 +6,7 @@ import {expect} from 'chai'; let flecks; let Entity; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/entity': require('@avocado/entity'), '@avocado/graphics': require('@avocado/graphics'), diff --git a/packages/entity/test/entity.js b/packages/entity/test/entity.js index 442da1c..5547351 100644 --- a/packages/entity/test/entity.js +++ b/packages/entity/test/entity.js @@ -6,7 +6,7 @@ import {expect} from 'chai'; let flecks; let Entity; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/entity': require('@avocado/entity'), '@avocado/graphics': require('@avocado/graphics'), diff --git a/packages/entity/test/json.js b/packages/entity/test/json.js index ec02afb..becb959 100644 --- a/packages/entity/test/json.js +++ b/packages/entity/test/json.js @@ -5,7 +5,7 @@ import {expect} from 'chai'; let flecks; let Entity; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/behavior': require('@avocado/behavior'), '@avocado/entity': require('@avocado/entity'), diff --git a/packages/entity/test/mobile.js b/packages/entity/test/mobile.js index a3dc01e..9039726 100644 --- a/packages/entity/test/mobile.js +++ b/packages/entity/test/mobile.js @@ -5,7 +5,7 @@ import {expect} from 'chai'; let flecks; let Entity; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/entity': require('@avocado/entity'), '@avocado/graphics': require('@avocado/graphics'), diff --git a/packages/entity/test/perishable.js b/packages/entity/test/perishable.js index 1663014..7ca74c5 100644 --- a/packages/entity/test/perishable.js +++ b/packages/entity/test/perishable.js @@ -5,7 +5,7 @@ import {expect} from 'chai'; let flecks; let Entity; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/entity': require('@avocado/entity'), '@avocado/graphics': require('@avocado/graphics'), diff --git a/packages/entity/test/positioned.js b/packages/entity/test/positioned.js index 5f35548..109f683 100644 --- a/packages/entity/test/positioned.js +++ b/packages/entity/test/positioned.js @@ -5,7 +5,7 @@ import {expect} from 'chai'; let flecks; let Entity; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/entity': require('@avocado/entity'), '@avocado/graphics': require('@avocado/graphics'), diff --git a/packages/entity/test/spawner.js b/packages/entity/test/spawner.js index e40d5d6..336a425 100644 --- a/packages/entity/test/spawner.js +++ b/packages/entity/test/spawner.js @@ -6,7 +6,7 @@ let flecks; let Entity; let EntityList; beforeEach(async () => { - flecks = Flecks.from({ + flecks = await Flecks.from({ flecks: { '@avocado/behavior': require('@avocado/behavior'), '@avocado/entity': require('@avocado/entity'),