Skip to content

Commit

Permalink
Merge branch 'main' into staging/4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Jun 6, 2024
2 parents 222975b + 75c5441 commit 77dff66
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web-test-runner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,11 @@ export default pfeTestRunnerConfig({
plugins: [
a11ySnapshotPlugin(),
],
middleware: [
async function(ctx) {
if (ctx.path.match(/@patternfly\/icons\/.*\.js/)) {
ctx.redirect(`/node_modules/${ctx.path}`);
}
},
],
});

0 comments on commit 77dff66

Please sign in to comment.