Skip to content

Commit

Permalink
Read End2End.kd only once
Browse files Browse the repository at this point in the history
  • Loading branch information
codeaddslife committed Apr 5, 2017
1 parent ae29ae5 commit d02c4a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/endtoendtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var Html5Renderer = require('./html5renderer');
describe("Koara End2End Tests", function() {

var parser;
var kd = fs.readFileSync("testsuite/input/end2end.kd");

beforeEach(function() {
parser = new koara.Parser();;
Expand Down Expand Up @@ -1031,7 +1032,7 @@ describe("Koara End2End Tests", function() {
});

function assertOutput(file, modules) {
var kd = fs.readFileSync("testsuite/input/end2end.kd");

var html = fs.readFileSync("testsuite/output/html5/end2end/" + file + ".htm");

parser.modules = modules;
Expand Down

0 comments on commit d02c4a5

Please sign in to comment.