Skip to content

Commit

Permalink
fix: strip console warning to make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jkklapp committed May 20, 2022
1 parent 89ce0b4 commit be406d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions e2e/__tests__/customEsmTestSequencers.test.ts
Expand Up @@ -20,6 +20,14 @@ onNodeVersions('>=12.16.0', () => {
expect(result.exitCode).toBe(0);
const sequence = extractSummary(result.stderr)
.rest.replace(/PASS /g, '')
.replace(
/ {2}Configuration option testSequencer should be a global config, not per-project.\n/g,
'',
)
.replace(
/Configuration option testSequencer should be a global config, not per-project.\n/g,
'',
)
.split('\n');
expect(sequence).toEqual([
'./a.test.js',
Expand Down

0 comments on commit be406d7

Please sign in to comment.