Changeset View
Changeset View
Standalone View
Standalone View
lib/app/base-chips/field-types/json-object.subtest.js
const assert = require("assert"); | |||||
const locreq = require("locreq")(__dirname); | const locreq = require("locreq")(__dirname); | ||||
const Promise = require("bluebird"); | const assert = require("assert"); | ||||
const { with_running_app } = locreq("test_utils/with-test-app.js"); | const { with_running_app } = locreq("test_utils/with-test-app.js"); | ||||
const assert_throws_async = locreq("test_utils/assert_throws_async.js"); | const assert_throws_async = locreq("test_utils/assert_throws_async.js"); | ||||
describe("json-object", () => { | describe("json-object", () => { | ||||
function setup(app) { | function setup(app) { | ||||
app.createChip(app.Sealious.Collection, { | app.createChip(app.Sealious.Collection, { | ||||
name: "seals", | name: "seals", | ||||
fields: [ | fields: [ | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |