aboutsummaryrefslogtreecommitdiff
path: root/test/test_ffi.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ffi.mjs')
-rw-r--r--test/test_ffi.mjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_ffi.mjs b/test/test_ffi.mjs
new file mode 100644
index 0000000..e4fc06a
--- /dev/null
+++ b/test/test_ffi.mjs
@@ -0,0 +1,5 @@
+export const after = (f, delay) => {
+ const id = window.setTimeout(() => {
+ f(id)
+ }, delay)
+}