UNPKG

kruk

Version:

Command Line Tool for CrUX Rest API

13 lines (10 loc) 472 B
// Since mocking modules in ESM is challenging, we'll focus on basic structure validation // For a real test suite, we would need to set up proper ES module mocking // or consider using a test runner designed for ES modules import { expect, describe, test } from "@jest/globals"; import { getReports } from "../src/crux.js"; describe("crux module structure", () => { test("getReports function exists", () => { expect(typeof getReports).toBe("function"); }); });