UNPKG

@git-temporal/git-temporal-react

Version:

<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

13 lines (12 loc) 239 B
const setModelMock = jest.fn(); const mockEditor = { editor: { createModel: jest.fn(), createDiffEditor: () => { return { setModel: setModelMock }; }, }, }; module.exports = { mockEditor, };