fix: align the static fallback with the nightdrive scene
This commit is contained in:
@@ -62,6 +62,10 @@ describe('SceneCanvas', () => {
|
||||
expect(sceneMocks.build).not.toHaveBeenCalled();
|
||||
expect(wrapper.findAll('canvas')).toHaveLength(0);
|
||||
expect(wrapper.get('img').attributes()).toMatchObject({ alt: '', width: '1600', height: '900' });
|
||||
expect(wrapper.findAll('.journey-poster-composition > span')).toHaveLength(7);
|
||||
expect(wrapper.find('.journey-poster__sun').exists()).toBe(true);
|
||||
expect(wrapper.find('.journey-poster__road').exists()).toBe(true);
|
||||
expect(wrapper.find('.journey-poster__car').exists()).toBe(true);
|
||||
expect(wrapper.text()).toContain('A decorative night road behind the portfolio content.');
|
||||
wrapper.unmount();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user