Skip to content

Commit

Permalink
Remove redundant suiteSetup since there is only one top-level suite (#…
Browse files Browse the repository at this point in the history
…4162)

The top-level suite already throws for non-captured fetches.
  • Loading branch information
past authored Dec 16, 2024
1 parent 3f6548c commit 67cfb38
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions webapp/components/test/wpt-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@
import '../../views/wpt-app.js';
import { TEST_RUNS_DATA } from './util/helpers.js';

suiteSetup(() => {
window.fetch = (url) => {
const href = url instanceof URL ? url.href : 'unknown';
assert.fail('actual', 'expected', `uncaptured fetch: ${href}`);
};
});

suite('<wpt-app>', () => {
let sandbox;

Expand Down

0 comments on commit 67cfb38

Please sign in to comment.