aboutsummaryrefslogtreecommitdiff
path: root/test/js/dune
diff options
context:
space:
mode:
authorClombrong <clombrong@egregore.fun>2025-05-30 10:55:32 +0200
committerClombrong <cromblong@egregore.fun>2025-05-30 10:55:32 +0200
commit591038ba4f718007cacdf7a4f58b3c375fa2ee97 (patch)
tree5ef6770eb5ba8ddcd956e8e3a86dbbe49c898384 /test/js/dune
parent91e3de96fd83cfda68b3a842702f1a70cc06768d (diff)
test(js): move portal tests to global tests
Diffstat (limited to 'test/js/dune')
-rw-r--r--test/js/dune14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/js/dune b/test/js/dune
new file mode 100644
index 0000000..b34c980
--- /dev/null
+++ b/test/js/dune
@@ -0,0 +1,14 @@
+(test
+ (name websockets_hello)
+ (libraries portal_ws lwt js_of_ocaml)
+ (modes js)
+ (preprocess (pps js_of_ocaml-ppx))
+ (deps node_modules)
+ (js_of_ocaml
+ (javascript_files polyfill.js)))
+
+(rule
+ (alias npm)
+ (target node_modules)
+ (deps package.json package-lock.json)
+ (action (system "npm ci")))