👔 Fix "'model' is assigned a value but never used"

This commit is contained in:
Jason Rudolph
2017-10-21 10:05:57 -04:00
parent c6d438c509
commit 9a6f4b1647

View File

@@ -87,8 +87,6 @@ describe('ViewRegistry', () => {
describe('when a view provider is registered generically, and works with the object', () =>
it('constructs a view element and assigns the model on it', () => {
const model = {a: 'b'}
registry.addViewProvider((model) => {
if (model.a === 'b') {
const element = document.createElement('div')