import chai, { expect } from "chai"
chai.Should()

import Visitors from "../../../src/visitors"

describe("Visitors", () => {
  /** @test Visitors */
  describe("Visitors#constructor(defaultState) return result", () => {
    let visitors
    beforeEach(() => visitors = new Visitors())
    it("should be an Object", () => visitors.should.be.an.Object)
    it("should have IdentifierVisitor", () => expect(visitors.Identifier).to.be.an.instanceOf(Function))
    it("should have LiteralVisitor", () => expect(visitors.Literal).to.be.an.instanceOf(Function))
    it("should have FunctionDeclarationVisitor", () => expect(visitors.FunctionDeclaration).to.be.an.instanceOf(Function))
    it("should have ClassDeclarationVisitor", () => expect(visitors.ClassDeclaration).to.be.an.instanceOf(Function))
    it("should have ArrowFunctionExpressionVisitor", () => expect(visitors.ArrowFunctionExpression).to.be.an.instanceOf(Function))
  })
})

@@ -193,16 +193,33 @@
 ate)
- return 
+%22, () =%3E %7B%0A    describe(%22
 resu
@@ -235,16 +235,18 @@
 %3E %7B%0A    
+  
 let visi
@@ -250,16 +250,18 @@
 isitors%0A
+  
     befo
@@ -300,24 +300,26 @@
 tors())%0A    
+ 
+ 
 it(%22should b
@@ -368,16 +368,18 @@
 Object)%0A
+  
     it(%22
@@ -471,32 +471,34 @@
 (Function))%0A    
+  
 it(%22should have 
@@ -572,32 +572,34 @@
 (Function))%0A    
+ 
+ 
 it(%22should have 
@@ -693,32 +693,34 @@
 ceOf(Function))%0A
+  
     it(%22should h
@@ -820,24 +820,26 @@
 ction))%0A    
+  
 it(%22should h
@@ -953,16 +953,23 @@
 ction))%0A
+    %7D)%0A
   %7D)%0A%7D)%0A

better test output