1 | import { mount } from 'enzyme';
|
2 | import React from 'react';
|
3 |
|
4 | import { BlurView } from '..';
|
5 |
|
6 | it(`renders a native blur view`, () => {
|
7 | const component = mount(<BlurView tint="light" intensity={0.65} />);
|
8 | expect(
|
9 | component
|
10 | .find('ViewManagerAdapter_ExpoBlurView')
|
11 | .first()
|
12 | .prop('proxiedProperties')
|
13 | ).toMatchSnapshot();
|
14 | });
|