How to use the megalodon.mockClear function in megalodon

To help you get started, we’ve selected a few megalodon examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github h3poteto / whalebird-desktop / spec / renderer / integration / store / TimelineSpace / Contents / Mentions.spec.js View on Github external
beforeEach(() => {
    localVue = createLocalVue()
    localVue.use(Vuex)
    store = new Vuex.Store({
      modules: {
        Mentions: initStore(),
        TimelineSpace: timelineState
      }
    })
    Mastodon.mockClear()
  })
github h3poteto / whalebird-desktop / spec / renderer / integration / store / TimelineSpace / Contents / Home.spec.js View on Github external
beforeEach(() => {
    localVue = createLocalVue()
    localVue.use(Vuex)
    store = new Vuex.Store({
      modules: {
        Home: initStore(),
        TimelineSpace: timelineState
      }
    })
    Mastodon.mockClear()
  })

megalodon

Fediverse API client for node.js and browser

MIT
Latest version published 15 days ago

Package Health Score

78 / 100
Full package analysis