mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 08:36:01 +00:00
updated schemas, fixed tests, skipping flow tests for now
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user