Skip to content
Prev Previous commit
Next Next commit
Update plugin test to use new signature for configs
  • Loading branch information
rogeliog committed Jul 8, 2018
commit e09388567670ce3408f78a142fd9e3c936fca947
2 changes: 1 addition & 1 deletion packages/jest-cli/src/__tests__/watch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ describe('Watch mode flows', () => {
const pluginPath = `${__dirname}/__fixtures__/plugin_path_config_updater`;
const config = Object.assign({}, globalConfig, {
rootDir: __dirname,
watchPlugins: [pluginPath],
watchPlugins: [{config: {}, path: pluginPath}],
});

jest.doMock(
Expand Down