refactor!: migrate away from bun
- migrate package management to pnpm - migrate test suite to vitest - also remove Anify integration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { describe, expect, it } from "bun:test";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { lazy } from "./lazy";
|
||||
|
||||
@@ -16,7 +16,7 @@ describe("lazy", () => {
|
||||
return "value";
|
||||
});
|
||||
|
||||
expect(setValue).toBeFalse();
|
||||
expect(setValue).toBe(false);
|
||||
});
|
||||
|
||||
it("lazy function called if get is called", () => {
|
||||
@@ -26,7 +26,7 @@ describe("lazy", () => {
|
||||
return "value";
|
||||
}).get();
|
||||
|
||||
expect(setValue).toBeTrue();
|
||||
expect(setValue).toBe(true);
|
||||
});
|
||||
|
||||
it("lazy function called only once if get is called multiple times", () => {
|
||||
|
||||
Reference in New Issue
Block a user