mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +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