    Your pluginsFile threw a validation error: /path/to/pluginsFile

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

    You passed: invalid:event

    The following are valid events:

     - foo
     - bar
     - baz

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