Evan You 12 лет назад
Родитель
Сommit
5685f6853a
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      test/unit/directive.js

+ 1 - 2
test/unit/directive.js

@@ -255,8 +255,7 @@ describe('UNIT: Directive', function () {
             d.el = true
             d.unbind(true)
             assert.ok(unbound === true)
-            // should not null everything unless it's an update
-            assert.ok(d.el && d.vm)  
+            assert.ok(d.el)
         })
 
         it('should null everything if it\'s called for VM destruction', function () {