Your configFile threw a validation error from: /path/to/cypress.config.js

You must pass a valid event name when registering a plugin.

You passed: invalid:event

The following are valid events:

 - foo
 - bar
 - baz

Learn more at https://docs.cypress.io/api/plugins/writing-a-plugin#config

Error: fail whale
    at makeErr (cypress/packages/errors/test/unit/visualSnapshotErrors_spec.ts)
    at SETUP_NODE_EVENTS_INVALID_EVENT_NAME_ERROR (cypress/packages/errors/test/unit/visualSnapshotErrors_spec.ts)