Skip to content

Commit

Permalink
added valid code testing for Code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
oyilmaztekin committed Nov 3, 2018
1 parent 3df3239 commit 446a0a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/astStages.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ suite("AST Stages", function() {
expect(fnGenerate).withArgs(parsedFile).to.not.throwException();
})

// test("it should be a valid code", () => {
// expect(fnGenerate(parsedFile).code).to.be(returnedCode)
// })
test("it should be a valid code", () => {
expect(fnGenerate(parsedFile).code).to.be(returnedCode)
})


})
Expand Down

0 comments on commit 446a0a4

Please sign in to comment.