chore: improves empty object json field tests (#2207)
This commit is contained in:
@@ -535,7 +535,7 @@ describe('Fields', () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(createdJSON.json.state).toBeDefined();
|
expect(createdJSON.json.state).toEqual({});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ describe('globals', () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(createdJSON.json.state).toBeDefined();
|
expect(createdJSON.json.state).toEqual({});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create', async () => {
|
it('should create', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user