chore: improves empty object json field tests (#2207)

This commit is contained in:
Jarrod Flesch
2023-02-28 10:51:38 -05:00
committed by GitHub
parent f7a2ae7e55
commit 45b36ce56d
2 changed files with 2 additions and 2 deletions

View File

@@ -535,7 +535,7 @@ describe('Fields', () => {
}, },
}); });
expect(createdJSON.json.state).toBeDefined(); expect(createdJSON.json.state).toEqual({});
}); });
}); });

View File

@@ -70,7 +70,7 @@ describe('globals', () => {
}, },
}); });
expect(createdJSON.json.state).toBeDefined(); expect(createdJSON.json.state).toEqual({});
}); });
it('should create', async () => { it('should create', async () => {