Skip to content

Commit

Permalink
Add analytics module object with storeName.
Browse files Browse the repository at this point in the history
  • Loading branch information
hussain-t committed Apr 21, 2022
1 parent 6718d26 commit e95dcbb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion assets/js/googlesitekit/modules/datastore/modules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,20 @@ describe( 'core/modules modules', () => {
const slug = 'analytics';
fetchMock.get(
/^\/google-site-kit\/v1\/core\/modules\/data\/list/,
{ body: FIXTURES, status: 200 }
{
body: [
...FIXTURES,
{
slug: 'analytics',
name: 'Analytics',
active: true,
connected: true,
shareable: true,
storeName: 'modules/analytics',
},
],
status: 200,
}
);
fetchMock.postOnce(
/^\/google-site-kit\/v1\/core\/modules\/data\/recover-module/,
Expand Down

0 comments on commit e95dcbb

Please sign in to comment.