diff --git a/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java b/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java index dc14647d2..536432a18 100644 --- a/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java +++ b/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java @@ -170,7 +170,7 @@ abstract class TestPlatformSupport { protected final void htmlSingleTestOutput(File outputPathForMethod, TeaVMTestConfiguration configuration, String template) { - File testPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), ".wasm"); + File testPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), getExtension()); File htmlPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), ".html"); var properties = Map.of( "SCRIPT", testPath.getName(),