Skip to content

Commit

Permalink
test: adjust tests and move file into src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikossor committed Feb 4, 2024
1 parent e784b87 commit a6b8c9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 43 deletions.
8 changes: 8 additions & 0 deletions packages/anonymus/src/anonymus.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { expect, it } from "vitest";
import { createAnonymusGenerator } from "./anonymus";

it("should return two words separated by a whitespace", () => {
const anonymus = createAnonymusGenerator();

expect(anonymus.next().value).toMatch(/^\w+\s\w+$/);
});
43 changes: 0 additions & 43 deletions packages/anonymus/test/anonymus.test.ts

This file was deleted.

0 comments on commit a6b8c9f

Please sign in to comment.