fix: empty test
This commit is contained in:
parent
103f458158
commit
a62a578664
|
@ -293,7 +293,7 @@ test('generates diffs for adding and removing components', () => {
|
|||
test('generates diffs for empty components', () => {
|
||||
const ecs = new Ecs({Components: {Empty}});
|
||||
let entity;
|
||||
entity = ecs.create({Empty});
|
||||
entity = ecs.create({Empty: {}});
|
||||
expect(ecs.diff)
|
||||
.to.deep.equal({[entity]: {Empty: {}}});
|
||||
ecs.setClean();
|
||||
|
|
Loading…
Reference in New Issue
Block a user