Skip to content

Commit

Permalink
Check if early return reduces cli output noise
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Aug 5, 2019
1 parent eb1fa3b commit 9c8e6ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions debug/test/browser/devtools.test.js
Expand Up @@ -138,9 +138,8 @@ function getRoot(element) {
}

const supported = /(Chrome)|(Firefox)[^(Edge)]/i.test(navigator.userAgent);
const desc = supported ? describe : describe.skip;

desc('devtools', () => {
describe('devtools', () => {
if (!supported) return;

/** @type {import('../../src/internal').PreactElement} */
let scratch;
Expand Down

0 comments on commit 9c8e6ae

Please sign in to comment.