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', () => {
|
test('generates diffs for empty components', () => {
|
||||||
const ecs = new Ecs({Components: {Empty}});
|
const ecs = new Ecs({Components: {Empty}});
|
||||||
let entity;
|
let entity;
|
||||||
entity = ecs.create({Empty});
|
entity = ecs.create({Empty: {}});
|
||||||
expect(ecs.diff)
|
expect(ecs.diff)
|
||||||
.to.deep.equal({[entity]: {Empty: {}}});
|
.to.deep.equal({[entity]: {Empty: {}}});
|
||||||
ecs.setClean();
|
ecs.setClean();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user