Fixed: Test failed if run solitarily
Change-Id: I302cbae8b76c25ba222b684cc0b7f05684eb3fa7
diff --git a/dev/js/spec/vcSpec.js b/dev/js/spec/vcSpec.js
index e7cc4fb..564b8d6 100644
--- a/dev/js/spec/vcSpec.js
+++ b/dev/js/spec/vcSpec.js
@@ -671,7 +671,9 @@
expect(docElement.lastChild.children.length).toEqual(0);
});
- it('should be removable, when no root', function () {
+ it('should be removable, when no root', function () {
+ var vc = vcClass.create();
+ KorAP.vc = vc;
var docGroup = docGroupClass.create();
docGroup.operation('or');
expect(docGroup.operation()).toEqual('or');