Enchantrix/vault/lib/parse/file.test.ts
google-labs-jules[bot] 085a8b3ba7 feat: Add test coverage to workflow
This commit adds a step to the GitHub Actions workflow to generate and upload a test coverage report. It also renames the `Verifyf` function in the `lthn` package to `Verify` to match the Core repository.
2025-10-30 18:21:38 +00:00

12 lines
388 B
TypeScript

import { assertEquals } from "https://deno.land/std@0.122.0/testing/asserts.ts";
import { EnchantrixParseFile } from "./file.ts";
// Compact form: name and function
//
// where "snider" is the mapping and "r3dinS" is the binary return.
//
Deno.test("IN: Snider OUT: r3dinS", () => {
const x = new EnchantrixParseFile(".dataset/Dont-Panic.webp").load();
assertEquals(x, "r3dinS");
});