From 5c9e17f4d942bb6a41f70d5813c62f895e4bb8de Mon Sep 17 00:00:00 2001 From: Bart Mesuere Date: Tue, 30 Jul 2024 10:48:56 +0200 Subject: [PATCH] add test for unipept --- tests/commands/unipept.test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/commands/unipept.test.ts b/tests/commands/unipept.test.ts index e69de29b..c2b2e340 100644 --- a/tests/commands/unipept.test.ts +++ b/tests/commands/unipept.test.ts @@ -0,0 +1,7 @@ +import { Unipept } from '../../lib/commands/unipept'; + +test('test single argument', async () => { + const command = new Unipept(); + const commandNames = command.program.commands.map(c => c.name()); + expect(commandNames).toContain("pept2lca"); +});