diff options
-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 }); }); |