Closed plasticine closed 8 years ago
Given:
var MyStoreProxy = require('inject?lib/dispatcher!stores/my_store')
Should raise an error:
var Dispatcher = MyStoreProxy()
Shouldn’t error:
var StubDispatcher = {}; var MyStore = MyStoreProxy({'lib/dispatcher': StubDispatcher})
Given:
Should raise an error:
Shouldn’t error: