mirror of
https://github.com/gethomepage/homepage.git
synced 2026-04-14 06:01:20 -07:00
Chore: homepage tests (#6278)
This commit is contained in:
12
src/widgets/calendar/widget.test.js
Normal file
12
src/widgets/calendar/widget.test.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { expectWidgetConfigShape } from "test-utils/widget-config";
|
||||
|
||||
import widget from "./widget";
|
||||
|
||||
describe("calendar widget config", () => {
|
||||
it("exports a valid widget config", () => {
|
||||
expectWidgetConfigShape(widget);
|
||||
expect(widget.api).toBe("{url}");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user