UNPKG

350 BTypeScriptView Raw
1import { mount } from 'enzyme';
2import React from 'react';
3
4import { BlurView } from '..';
5
6it(`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});