1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-07-13 07:12:44 +00:00
Files
Saq Imtiaz 785086e0a5 Fixes ESLint errors (#9668)
* fix: apply automatic eslint fixes

* lint: allow hashbang comment for tiddlywiki.js

* lint: first back of manual lint fixes for unused vars

* lint: added more fixes for unused vars

* lint: missed files

* lint: updated eslint config with selected rules from #9669
2026-02-20 08:38:42 +00:00

20 lines
347 B
JavaScript

/*\
title: missing/program.js
type: application/javascript
module-type: library
Missing test
\*/
var test = require("test");
try {
require("bogus");
test.print("FAIL require throws error when module missing", "fail");
} catch (exception) {
test.print("PASS require throws error when module missing", "pass");
}
test.print("DONE", "info");