Changeset View
Changeset View
Standalone View
Standalone View
lib/app/base-chips/special_filters/matches.subtest.js
const assert = require("assert"); | const assert = require("assert"); | ||||
const locreq = require("locreq")(__dirname); | const locreq = require("locreq")(__dirname); | ||||
const Promise = require("bluebird"); | |||||
const { with_running_app } = locreq("test_utils/with-test-app.js"); | const { with_running_app } = locreq("test_utils/with-test-app.js"); | ||||
describe("Matches", () => { | describe("Matches", () => { | ||||
async function setup(app, rest_api) { | async function setup(app, rest_api) { | ||||
const port = app.ConfigManager.get("www-server.port"); | |||||
app.createChip(Sealious.Collection, { | app.createChip(Sealious.Collection, { | ||||
name: "numbers", | name: "numbers", | ||||
fields: [ | fields: [ | ||||
{ | { | ||||
name: "number", | name: "number", | ||||
type: "int", | type: "int", | ||||
}, | }, | ||||
], | ], | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |