Changeset View
Changeset View
Standalone View
Standalone View
lib/app/base-chips/field-types/settable-by.subtest.js
const assert = require("assert"); | const assert = require("assert"); | ||||
const locreq = require("locreq")(__dirname); | const locreq = require("locreq")(__dirname); | ||||
const axios = require("axios"); | const axios = require("axios"); | ||||
const { create_resource_as, assert_throws_async } = locreq("test_utils"); | const { assert_throws_async } = locreq("test_utils"); | ||||
const { with_running_app } = locreq("test_utils/with-test-app.js"); | const { with_running_app } = locreq("test_utils/with-test-app.js"); | ||||
describe("settable-by", async () => { | describe("settable-by", async () => { | ||||
function create_collections(app) { | function create_collections(app) { | ||||
const int = app.ChipManager.get_chip("field_type", "int"); | const int = app.ChipManager.get_chip("field_type", "int"); | ||||
app.createChip(app.Sealious.Collection, { | app.createChip(app.Sealious.Collection, { | ||||
name: "forbidden-collection", | name: "forbidden-collection", | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |