aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
authorEduardo Julian2022-06-06 01:17:43 -0400
committerEduardo Julian2022-06-06 01:17:43 -0400
commitf21ca0dc1956a47b8f7ac6e0ea67d7d246c55280 (patch)
tree10a40b25b8ed6e332d2fe4f273dcda6bfcbba3bd /stdlib/source/test
parentf623de52d76ad8ec96feb048cd95a3fb150717e1 (diff)
Added extensions to JS interop for working with "undefined" values.
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/ffi.js.lux3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/source/test/lux/ffi.js.lux b/stdlib/source/test/lux/ffi.js.lux
index fa58458ae..6fe42ec08 100644
--- a/stdlib/source/test/lux/ffi.js.lux
+++ b/stdlib/source/test/lux/ffi.js.lux
@@ -143,6 +143,9 @@
(|> (TextDecoder::new encoding)
(TextDecoder::decode binary)))
))))
+ (_.coverage [/.undefined /.undefined?]
+ (and (not (/.undefined? number))
+ (/.undefined? (/.undefined))))
$/export.test
)))))