munit is a cross-platform unit testing framework for Haxe. Utilises metadata markup for test cases and includes tools for generating, compiling and running test cases from the command line.
Other
181
stars
56
forks
source link
Timer: fix undefined massive.munit.util error in JS #173
The following code in the constructor for
massive.munit.util.Timer
causes runtime errors in JS:Error in Firefox:
Error in Chrome:
This error makes it impossible for me to write async tests.
I should note that my project uses Haxe 4 and OpenFL, so I need to use the
haxelib run openfl build html5
command to properly compile my tests.My .hxml looks like this: