summaryrefslogtreecommitdiff
path: root/js/globals_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/globals_test.ts')
-rw-r--r--js/globals_test.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/globals_test.ts b/js/globals_test.ts
index 889ca4ecd..d5ce68c38 100644
--- a/js/globals_test.ts
+++ b/js/globals_test.ts
@@ -16,3 +16,7 @@ test(function windowWindowExists() {
test(function globalThisEqualsWindow() {
assert(globalThis === window);
});
+
+test(function webAssemblyExists() {
+ assert(typeof WebAssembly.compile === "function");
+});