fix tests for js target

This commit is contained in:
2021-07-25 23:59:31 -06:00
parent 216f7b3cdf
commit ccb22c82a8
2 changed files with 1 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
package kiss; package kiss;
import sys.io.Process;
#if macro #if macro
import kiss.Kiss; import kiss.Kiss;
import kiss.Helpers; import kiss.Helpers;

View File

@@ -8,7 +8,6 @@ import haxe.macro.Expr;
import haxe.macro.Context; import haxe.macro.Context;
#end #end
#if (sys || hxnodejs)
class CompilerToolsTestCase extends Test { class CompilerToolsTestCase extends Test {
function testCompileHelloWorldJs() { function testCompileHelloWorldJs() {
Assert.equals("Hello world!", _testCompileHelloWorldJs()); Assert.equals("Hello world!", _testCompileHelloWorldJs());
@@ -44,8 +43,5 @@ class CompilerToolsTestCase extends Test {
}; };
} }
// TODO test what happens when passing more arguments/files // TODO test what happens when passing more arguments/files
} }
#end