Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('can register axios instance directly to the model', () => {
VuexORM.use(VuexORMAxios)
Model.setAxios(axios)
expect(Model.axios).toBe(axios)
})
it('registeres axios instance by passing to plugin install option', () => {
VuexORM.use(VuexORMAxios, { axios })
expect(Model.axios).toBe(axios)
})