From 916864d31632e002418f9c67e590ae431ffdcb11 Mon Sep 17 00:00:00 2001 From: HaQadosch Date: Sat, 25 Nov 2023 21:58:50 +0000 Subject: [PATCH] prepare for html files --- README.org | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index e8fac8a..a39dcde 100644 --- a/README.org +++ b/README.org @@ -65,7 +65,8 @@ scope creeps. Because you don't want to share the development setup with other projects or the usual browsing, e.g. same cookie origins, indexdb, and localstorage, ... we can launch firefox with a dedicated profile. -Assuming we all know where our firefox is launched from. +Assuming we all know where our firefox is launched from and that the esbuild +server is running. #+name: firefox launcher #+begin_src shell #!/bin/bash @@ -82,7 +83,27 @@ Assuming we all know where our firefox is launched from. #+RESULTS: firefox launcher +Any good script should be checked against [[https://www.shellcheck.net/][shellcheck]] +Looks like there is a [[https://how-to.dev/how-to-set-up-a-dev-server-with-esbuild][good doc]] about esbuild for dev server. +** HTML file +The html file contains the testing libraries and loads the tools. +It is using Mocha and Chai[fn:2]. +*** As intended +Let's create 3 HTML files: +- mocha.html +- tape.html +- qunit.html + + +And see which one works best. +*** Tape +*** Qunit + * Footnotes +[fn:2] I don't know, possible alternatives are: +- Tape +- Qunit +They have really good scores in [[https://libraries.io/search?q=&platforms=NPM&sort=dependents_count][libraries.io]] [fn:1]Which causes 2 problems: - It's github