LandingPage: add "go to beta" banner
This commit is contained in:
parent
341b37a567
commit
c3c8a687a0
2 changed files with 120 additions and 71 deletions
|
|
@ -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 />);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue