mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
- Removed orphaned code block in `js/app.js` that caused syntax errors during module loading. - Updated `tests/helpers/moderation-test-helpers.mjs` to implement `resumePendingModeratedPlayback` and decoration logic in `MockApplication`, fixing `tests/app/moderation-overrides.test.mjs` and `tests/app/moderation-settings-refresh.test.mjs` failures. Co-authored-by: PR0M3TH3AN <[email protected]>
9 lines
207 B
JavaScript
9 lines
207 B
JavaScript
import test from "node:test";
|
|
import WebTorrent from "../js/webtorrent.min.js";
|
|
|
|
test("can import WebTorrent", () => {
|
|
if (typeof WebTorrent !== "function") {
|
|
throw new Error("Import failed");
|
|
}
|
|
});
|