From e312551d94407332fbe3ab3388dd140392670372 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 9 Sep 2024 15:23:17 -0500 Subject: Actually test the node library Signed-off-by: Matt Strapp --- packages/locusts/src/index.ts | 4 ++-- packages/locusts/tests/locusts.test.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/locusts/src/index.ts b/packages/locusts/src/index.ts index de25d64..d78bab8 100644 --- a/packages/locusts/src/index.ts +++ b/packages/locusts/src/index.ts @@ -5,8 +5,8 @@ * @public * @example * ```js - * import introduce_locusts from 'locusts'; - * introduce_locusts(); + * import introduceLocusts from 'locusts'; + * introduceLocusts(); * ``` * @returns void */ diff --git a/packages/locusts/tests/locusts.test.ts b/packages/locusts/tests/locusts.test.ts index f5a126d..7875cbd 100644 --- a/packages/locusts/tests/locusts.test.ts +++ b/packages/locusts/tests/locusts.test.ts @@ -1,7 +1,9 @@ import { describe, it } from "node:test"; +import introduceLocusts from "../src/index.ts"; describe("Locusts", () => { it("should be able to be introduced to the environment", () => { + introduceLocusts(); // Test code here }); }); -- cgit v1.2.3