updated schemas, fixed tests, skipping flow tests for now

This commit is contained in:
dswbx
2025-07-03 14:00:29 +02:00
parent fe1716ed01
commit 5143ee5726
23 changed files with 119 additions and 101 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ import {
} from "../../src/data/prototype";
import { MediaField } from "../../src/media/MediaField";
describe.skip("prototype", () => {
describe("prototype", () => {
test("...", () => {
const fieldPrototype = new FieldPrototype("text", {}, false);
//console.log("field", fieldPrototype, fieldPrototype.getField("name"));
@@ -4,7 +4,12 @@ import { fieldTestSuite } from "data/fields/field-test-suite";
import { bunTestRunner } from "adapter/bun/test";
describe("[data] DateField", async () => {
fieldTestSuite(bunTestRunner, DateField, { defaultValue: new Date(), schemaType: "date" });
fieldTestSuite(
bunTestRunner,
DateField,
{ defaultValue: new Date(), schemaType: "date" },
{ type: "date" },
);
// @todo: add datefield tests
test("week", async () => {