6 lines
224 B
TypeScript
6 lines
224 B
TypeScript
import { test } from 'node:test';
|
|
|
|
/** A test for one card. test/coverage.test.ts checks that every card in cards.csv has one. */
|
|
export const card = (name: string, fn: () => void): void => {
|
|
test(`card: ${name}`, fn);
|
|
};
|