aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2024-01-26 13:41:44 -0500
committertdro <tdro@noreply.example.com>2024-01-26 13:41:44 -0500
commitddee0102aef736b05e17d171849ff959c57fa7e1 (patch)
tree6250ce0c05a2177bb4625fb8b91730dc7df4c570 /Makefile
parent76d02e129281b8bc05d22127645a099d6f4b24ca (diff)
downloadcanory-ddee0102aef736b05e17d171849ff959c57fa7e1.tar.gz
canory-ddee0102aef736b05e17d171849ff959c57fa7e1.tar.bz2
canory-ddee0102aef736b05e17d171849ff959c57fa7e1.zip
Makefile: Add test entry point
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c645b91..49fec5e 100644
--- a/Makefile
+++ b/Makefile
@@ -115,3 +115,15 @@ test-sitemap: # Test sitemap
test-jsonfeed: # Test JSONFeed
check-jsonschema --schemafile assets/schemas/jsonfeed-v1.1.json public/index.json
+
+test-end: # Test front end
+ deno run --allow-all tests/index.ts
+
+test-bed: # Test bed run
+ deno run --allow-all tests/test.ts
+
+clean: # Clean everything
+ make clean-tests
+
+clean-tests: # Clean up tests
+ for file in /tmp/????????; do { [ -d "$$file/puppeteer_dev_chrome_profile-" ] && rm --recursive --force --verbose "$$file"; } || true; done