refactor: Flecks.from

This commit is contained in:
cha0s 2024-01-13 03:10:51 -06:00
parent ba20f02ccd
commit 3f2522cce6
8 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ import {expect} from 'chai';
let flecks; let flecks;
let Entity; let Entity;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/behavior': require('@avocado/behavior'), '@avocado/behavior': require('@avocado/behavior'),
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),

View File

@ -6,7 +6,7 @@ import {expect} from 'chai';
let flecks; let flecks;
let Entity; let Entity;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),
'@avocado/graphics': require('@avocado/graphics'), '@avocado/graphics': require('@avocado/graphics'),

View File

@ -6,7 +6,7 @@ import {expect} from 'chai';
let flecks; let flecks;
let Entity; let Entity;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),
'@avocado/graphics': require('@avocado/graphics'), '@avocado/graphics': require('@avocado/graphics'),

View File

@ -5,7 +5,7 @@ import {expect} from 'chai';
let flecks; let flecks;
let Entity; let Entity;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/behavior': require('@avocado/behavior'), '@avocado/behavior': require('@avocado/behavior'),
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),

View File

@ -5,7 +5,7 @@ import {expect} from 'chai';
let flecks; let flecks;
let Entity; let Entity;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),
'@avocado/graphics': require('@avocado/graphics'), '@avocado/graphics': require('@avocado/graphics'),

View File

@ -5,7 +5,7 @@ import {expect} from 'chai';
let flecks; let flecks;
let Entity; let Entity;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),
'@avocado/graphics': require('@avocado/graphics'), '@avocado/graphics': require('@avocado/graphics'),

View File

@ -5,7 +5,7 @@ import {expect} from 'chai';
let flecks; let flecks;
let Entity; let Entity;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),
'@avocado/graphics': require('@avocado/graphics'), '@avocado/graphics': require('@avocado/graphics'),

View File

@ -6,7 +6,7 @@ let flecks;
let Entity; let Entity;
let EntityList; let EntityList;
beforeEach(async () => { beforeEach(async () => {
flecks = new Flecks({ flecks = Flecks.from({
flecks: { flecks: {
'@avocado/behavior': require('@avocado/behavior'), '@avocado/behavior': require('@avocado/behavior'),
'@avocado/entity': require('@avocado/entity'), '@avocado/entity': require('@avocado/entity'),