diff --git a/src/mocha-multi-reporter.ts b/src/mocha-multi-reporter.ts index a160b59..2c9846e 100644 --- a/src/mocha-multi-reporter.ts +++ b/src/mocha-multi-reporter.ts @@ -35,6 +35,7 @@ function parseReporterOptions(options: mocha.RunnerOptions): Record { expect(stderr, 'to equal', '') }) - it.skip('reports empty option for reporter', async () => { + it('reports empty option for reporter', async () => { const command = [ 'mocha', '--reporter', @@ -60,7 +60,7 @@ describe('mocha-multi-reporter', () => { expect(stdout, 'to contain', '"fullTitle"') expect(stdout, 'to contain', '1 passing') - expect(stderr, 'to equal', 'Empty option for reporter') + expect(stderr, 'to equal', 'Empty option for reporter\n') }) it('reports unparsed reporter option', async () => {