guard test that won't work on js

This commit is contained in:
2023-07-17 12:05:32 -06:00
parent 450a27bfb9
commit b7f5218c57

View File

@@ -24,6 +24,7 @@ class DSLTestCase extends Test {
Assert.isTrue(script.wholeScriptDone);
}
#if (sys || hxnodejs)
function testAsyncFromCache() {
var script = new AsyncDSLScriptThatWillCache();
script.run();
@@ -34,6 +35,7 @@ class DSLTestCase extends Test {
Assert.isTrue(script.wholeScriptDone);
Assert.isTrue(script2.wholeScriptDone);
}
#end
}
@:build(kiss.EmbeddedScript.build("DSL.kiss", "DSLScript.dsl"))