mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
13 lines
392 B
JavaScript
13 lines
392 B
JavaScript
![]() |
import path from 'path';
|
||
|
|
||
|
import { getReport } from './index';
|
||
|
|
||
|
describe('getReport', () =>
|
||
|
test('returns formatted test report', () => {
|
||
|
// don't test the whitespace formatting, just the content
|
||
|
const testReport = getReport(
|
||
|
path.join(__dirname, 'src/tests/test-output.test.json')
|
||
|
).replace(/\s/g, '');
|
||
|
expect(testReport.startsWith('<details>')).toBeTruthy();
|
||
|
}));
|