mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
👔 Fix "'model' is assigned a value but never used"
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user