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 -->

19 lines (15 loc) 279 B
const setModelMock = jest.fn(); const mockEditor = { editor: { createModel: jest.fn(), createDiffEditor: () => { return { setModel: setModelMock }; }, }, }; // jest.mock('monaco-editor', () => { // return {}; // }); module.exports = { mockEditor, };