Sign in

简柏林 / thingskit-front · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • thingskit-front
  • tests
  • __mocks__
  • workerMock.ts
  • Initial commit
    c7b48a75
    黄 x authored
    2021-10-18 15:45:23 +0800  
    Browse Files »
workerMock.ts 130 Bytes
Raw Blame History Permalink
1 2 3 4 5
export default jest.fn().mockImplementation(() => ({
  postMessage: jest.fn(),
  onmessage: jest.fn(),
  onerror: jest.fn(),
}));