mirror of
https://github.com/strapi/strapi.git
synced 2025-11-09 22:59:14 +00:00
Refactor test to correspond to previous change
This commit is contained in:
parent
00f5efec51
commit
34cf331f20
@ -99,12 +99,10 @@ describe('metrics', () => {
|
|||||||
expect(JSON.parse(fetch.mock.calls[0][1].body)).toMatchObject({
|
expect(JSON.parse(fetch.mock.calls[0][1].body)).toMatchObject({
|
||||||
event: 'someEvent',
|
event: 'someEvent',
|
||||||
adminUserId: '',
|
adminUserId: '',
|
||||||
properties: {
|
|
||||||
groupProperties: {
|
groupProperties: {
|
||||||
projectType: 'Community',
|
projectType: 'Community',
|
||||||
projectId: 'test',
|
projectId: 'test',
|
||||||
},
|
},
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
fetch.mockClear();
|
fetch.mockClear();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user