added tests for rule34 (non sufficient)

This commit is contained in:
fzzinchemical
2025-03-27 15:10:31 +01:00
parent f97bfb03bd
commit eb6dca5368
3 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
import { assert } from "jsr:@std/assert"
import {refresh, drop} from "@root/plugins/rule34/api.ts"
Deno.test("Test Drop", async() => {
await refresh()
const link = await drop()
assert(link !== "", "Empty String was dropped!")
})