mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 22:34:51 +00:00
17 lines
312 B
Bash
17 lines
312 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# test TiddlyWiki5 for tiddlywiki.com
|
||
|
|
||
|
npm install playwright @playwright/test
|
||
|
npx playwright install chromium firefox --with-deps
|
||
|
|
||
|
node ./tiddlywiki.js \
|
||
|
./editions/test \
|
||
|
--verbose \
|
||
|
--version \
|
||
|
--rendertiddler $:/core/save/all test.html text/plain \
|
||
|
--test \
|
||
|
|| exit 1
|
||
|
|
||
|
npx playwright test
|