UNPKG

@unito/integration-debugger

Version:

The Unito Integration Debugger

20 lines (19 loc) 763 B
import * as CrawlerDriver from '../crawlerDriver'; /** * Check: Select fields of item summaries having a semantic. * * We only care about fields with semantics in this test. * The rationale behind this is that: * 1. They have a semantic so they have a special meaning for the Unito platform. * 2. Therefore, the Unito platform may select those fields when fetching the collection. * * For example, if the item "foo" (collection at "/foos") has multiple fields, * including "bar" and "spam" having a semantic, * the following step is produced: * * GetCollection /foos?select=bar,spam * * The result of this step must contain item summaries having the fields "bar" and "spam". */ declare const check: CrawlerDriver.StepCheck; export default check;