prepare for html files
This commit is contained in:
parent
0de598c517
commit
916864d316
23
README.org
23
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
|
||||
|
Loading…
Reference in New Issue
Block a user