mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
fix is_toggled test
This commit is contained in:
@@ -14,6 +14,7 @@ describe("env", () => {
|
||||
expect(is_toggled(1)).toBe(true);
|
||||
expect(is_toggled(0)).toBe(false);
|
||||
expect(is_toggled("anything else")).toBe(false);
|
||||
expect(is_toggled(undefined, true)).toBe(true);
|
||||
});
|
||||
|
||||
test("env()", () => {
|
||||
|
||||
Reference in New Issue
Block a user