Skip to content
Snippets Groups Projects
Verified Commit 0ecfd106 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed failing unit test because of leaking state

parent 0b667371
No related branches found
No related tags found
No related merge requests found
import {expect} from 'chai'
var sinon = require('sinon')
import axios from 'axios'
import moxios from 'moxios'
import store from '@/store/instance'
import { testAction } from '../../utils'
......@@ -14,6 +15,7 @@ describe('store/instance', () => {
afterEach(function () {
sandbox.restore()
moxios.uninstall()
axios.defaults.baseURL = null
})
describe('mutations', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment