mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-10-05 10:41:57 +00:00
14 lines
423 B
TypeScript
14 lines
423 B
TypeScript
|
|
import { describe, expect, it } from "vitest";
|
||
|
|
import { areMocksEnabled, getMockInvoices, getMockVendors } from "@/mocks";
|
||
|
|
|
||
|
|
describe("mocks module", () => {
|
||
|
|
it("defaults to mocks enabled", () => {
|
||
|
|
expect(areMocksEnabled()).toBe(true);
|
||
|
|
});
|
||
|
|
|
||
|
|
it("exposes sample invoices and vendors", () => {
|
||
|
|
expect(getMockVendors().length).toBeGreaterThan(0);
|
||
|
|
expect(getMockInvoices().length).toBeGreaterThan(0);
|
||
|
|
});
|
||
|
|
});
|