diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-09-09 15:23:17 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-09-09 15:23:17 -0500 |
commit | e312551d94407332fbe3ab3388dd140392670372 (patch) | |
tree | 38ffabd7288aa8c9807624d16c8119b0c82515e0 /packages | |
parent | rust: Add repository to toml (diff) | |
download | locusts-e312551d94407332fbe3ab3388dd140392670372.tar locusts-e312551d94407332fbe3ab3388dd140392670372.tar.gz locusts-e312551d94407332fbe3ab3388dd140392670372.tar.bz2 locusts-e312551d94407332fbe3ab3388dd140392670372.tar.lz locusts-e312551d94407332fbe3ab3388dd140392670372.tar.xz locusts-e312551d94407332fbe3ab3388dd140392670372.tar.zst locusts-e312551d94407332fbe3ab3388dd140392670372.zip |
Actually test the node library
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/locusts/src/index.ts | 4 | ||||
-rw-r--r-- | 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 }); }); |