Skip to content

Commit 0836e61

Browse files
committed
fix: importar Apariencia en game.test.js
Corrige el error "Apariencia is not defined" agregando el import global en el test.
1 parent c32ad3f commit 0836e61

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

game/js/systems/game.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const assert = require('node:assert/strict');
55

66
global.window = global;
77
global.MapGen = { T: {}, walkable: () => true };
8+
global.Apariencia = require('../apariencia.js');
89

910
const almacen = new Map();
1011
global.localStorage = {

0 commit comments

Comments
 (0)