Skip to content

Commit 24cc921

Browse files
authored
fix: add sendMousePlugin to the default test runner config (#1838)
1 parent 6f5a500 commit 24cc921

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/kind-owls-rest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@web/test-runner': patch
3+
---
4+
5+
Add `sendMousePlugin` to the default test runner config so that it will load automatically.

packages/test-runner/src/config/parseConfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
sendKeysPlugin,
88
filePlugin,
99
snapshotPlugin,
10+
sendMousePlugin,
1011
} from '@web/test-runner-commands/plugins';
1112
import { getPortPromise } from 'portfinder';
1213
import path from 'path';
@@ -252,6 +253,7 @@ export async function parseConfig(
252253
setUserAgentPlugin(),
253254
filePlugin(),
254255
sendKeysPlugin(),
256+
sendMousePlugin(),
255257
snapshotPlugin({ updateSnapshots: !!cliArgs.updateSnapshots }),
256258
);
257259

0 commit comments

Comments
 (0)