LandingPage: add "go to beta" banner

This commit is contained in:
Sanne Raymaekers 2023-04-06 14:41:17 +02:00
parent 341b37a567
commit c3c8a687a0
2 changed files with 120 additions and 71 deletions

View file

@ -13,6 +13,22 @@ jest.mock('../../../store/actions/actions', () => {
};
});
beforeAll(() => {
global.insights = {
chrome: {
isBeta: () => {
return false;
},
isProd: () => {
return true;
},
getEnvironment: () => {
return 'prod';
},
},
};
});
describe('Landing Page', () => {
test('renders page heading', async () => {
renderWithReduxRouter(<LandingPage />);