Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xpadev-net committed Oct 24, 2023
1 parent 6b04c0b commit 0a2865a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/__tests__/niwango.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { run } from "@/testUtils";

test("rand", () => {
const rand1 = run(`return rand("hoge")`);
const rand2 = run(`return rand("hoge")`);
const rand1 = run(`rand("hoge")`);
const rand2 = run(`rand("hoge")`);
const rand3 = run(`rand("huga")`);
expect(rand1).toBe(rand2);
expect(rand3).not.toBe(rand1);
});
export {};

0 comments on commit 0a2865a

Please sign in to comment.