mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 20:54:43 +00:00
Migrate some tests to the new htmlRunner
Fix events.get_timeStamp (was events.get_timestamp, wrong casing). Rename `newRunner` to `htmlRunner`. move tests to src/tests (from src/browser/tests). src/runtime and possibly other parts might want to have html tests too.
This commit is contained in:
5
src/tests/browser.html
Normal file
5
src/tests/browser.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<script src="testing.js"></script>
|
||||
<script id=intl>
|
||||
// this will crash if ICU isn't properly configured / ininitialized
|
||||
testing.expectEqual("[object Intl.DateTimeFormat]", new Intl.DateTimeFormat().toString());
|
||||
</script>
|
||||
Reference in New Issue
Block a user