Skip to content

Commit 8298015

Browse files
authored
chore: fix jest-watch-select-projects (testing-library#309)
1 parent 0309dcf commit 8298015

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jest.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ const config = require('kcd-scripts/jest')
22

33
module.exports = {
44
...config,
5-
projects: [
5+
watchPlugins: [
6+
...config.watchPlugins,
67
require.resolve('jest-watch-select-projects'),
8+
],
9+
projects: [
710
require.resolve('./tests/jest.config.dom'),
811
require.resolve('./tests/jest.config.node'),
912
],

0 commit comments

Comments
 (0)