global.fetch = () => Promise.resolve({})

global.localStorage = {
	_storage: {},
	getItem(key) {
		if (!this.hasItem(key)) {
			return null
		}
		return this._storage[key]
	},
	setItem(key, val) {
		this._storage[key] = String(val)
	},
	removeItem(key) {
		delete this._storage[key]
	},
	hasItem(key) {
		return key in this._storage
	},
	clear() {
		this._storage = {}
	},
}

@@ -1,12 +1,133 @@
+import Enzyme from 'enzyme'%0Aimport Adapter from 'enzyme-adapter-react-16'%0A%0AEnzyme.configure(%7B adapter: new Adapter() %7D)%0A%0A
 global.fetch

configure enzyme v3