import { parse } from '../rss-to-json' ; import request from '../../request' ; test ( 'should parse string from rolflekang.com/feed.xml' , async ( ) => { const fixture = await request ( 'https://rolflekang.com/feed.xml' ) ; expect ( await parse ( fixture . text ) ) . toMatchSnapshot ( ) ; } ) ;