ImagesTable/RegionsPopover: add "go to beta" under launch

This commit is contained in:
Sanne Raymaekers 2023-04-12 15:38:57 +02:00
parent 5f99bc79cf
commit 341b37a567
4 changed files with 61 additions and 2 deletions

View file

@ -426,6 +426,22 @@ const mockCloneStatus = {
},
};
beforeAll(() => {
global.insights = {
chrome: {
isBeta: () => {
return false;
},
isProd: () => {
return true;
},
getEnvironment: () => {
return 'prod';
},
},
};
});
jest
.spyOn(api, 'getComposes')
.mockImplementation(() => Promise.resolve(mockComposes));