fix all tests to run with node.js

This commit is contained in:
Fabian Jakobs 2010-12-14 15:09:24 +01:00
commit f07745839c
15 changed files with 181 additions and 125 deletions

View file

@ -36,10 +36,11 @@
* ***** END LICENSE BLOCK ***** */
require("../../../support/paths");
require("./mockdom");
var Document = "../document",
VirtualRenderer = "../virtual_renderer",
assert = "../assertions";
var Document = require("../document").Document,
VirtualRenderer = require("../virtual_renderer").VirtualRenderer,
assert = require("./assertions");
var Test = {
"test: screen2text the column should be rounded to the next character edge" : function() {