UNPKG

respond-framework

Version:
14 lines (13 loc) 343 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("snapshot-diff/extend-expect"); const mockEvents = () => { expect.addSnapshotSerializer({ print: event => event.type, test: v => typeof v === 'function' && v.__event }); }; var _default = exports.default = mockEvents;