@mui/x-internal-gestures
Version:
The core engine of GestureEvents, a modern and robust multi-pointer gesture detection library for JavaScript.
6 lines • 531 B
JavaScript
export const messages = {
invalidClass: () => 'Expected a valid gesture class, but received invalid input or an instantiated class instead.',
invalidOrEmptyObjectParam: paramName => `Expected a non-empty ${paramName} object, but received invalid or empty ${paramName}.`,
invalidObjectParam: paramName => `Expected valid ${paramName}, but received an invalid value.`,
negationError: matcherName => `${matcherName} matcher does not support negation. Use expect().${matcherName}() instead of expect().not.${matcherName}().`
};