global.Promise = require('bluebird')
global.debug = require('debug')

global.VERSION = String(require('../package.json').version)
global.DEV = false

process.env.NODE_ENV = 'test'

let storage = new Map()
global.localStorage = {
	_storage: storage,
	getItem: key => storage.get(key),
	setItem: (key, val) => storage.set(key, val),
	removeItem: key => storage.delete(key),
	hasItem: key => storage.has(key),
	clear: () => {
		storage = new Map()
	},
}

require.extensions['.scss'] = function () {
	return null
}

require.extensions['.css'] = function () {
	return null
}

@@ -188,25 +188,18 @@
 orage = 
-new Map()
+%7B%7D
 %0Aglobal.
@@ -263,17 +263,13 @@
 rage
-.get(key)
+%5Bkey%5D
 ,%0A%09s
@@ -301,22 +301,19 @@
 rage
-.set(key,
+%5Bkey%5D =
  val
-)
 ,%0A%09r
@@ -334,27 +334,27 @@
  =%3E 
-storage.delete(key)
+delete storage%5Bkey%5D
 ,%0A%09h
@@ -372,24 +372,22 @@
  =%3E 
+key in 
 storage
-.has(key)
 ,%0A%09c
@@ -416,17 +416,10 @@
 e = 
-new Map()
+%7B%7D
 %0A%09%7D,

remove mocha-harness's reliance on Map