diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-02-06 00:12:58 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-02-05 08:12:58 -0500 |
commit | 48fedee34e567570e43905dc9f32d0d78118b9b0 (patch) | |
tree | 4576c5152db483762e5ae53571926903239a0262 /js/globals_test.ts | |
parent | 748b0f9c9d267dddf6f59c9d2ca8728bc76e630f (diff) |
Add WebAssembly to runtime library (#1677)
This also modifies the `ts_library_builder` to support inlining assets.
Includes integration tests from @sh7dm
Diffstat (limited to 'js/globals_test.ts')
-rw-r--r-- | js/globals_test.ts | 4 |
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"); +}); |