import React from 'react'; import renderer from 'react-test-renderer'; import { SvgCss, parse, inlineStyles } from '../src/ReactNativeSVG'; const xml = ` `; test('inlines styles', () => { const ast = parse(xml, inlineStyles); expect(ast).toMatchSnapshot(); }); test('supports CSS in style element', () => { const tree = renderer.create().toJSON(); expect(tree).toMatchSnapshot(); });