Skip to content

TypeScript API / @laikacms/astro/testing / FakeLoaderContextOptions

Interface: FakeLoaderContextOptions ​

Properties ​

collection? ​

ts
optional collection?: string;

entries? ​

ts
optional entries?: DataEntry<Record<string, unknown>>[];

Seed the data store, e.g. to simulate a warm build.


meta? ​

ts
optional meta?: Record<string, string>;

Seed the meta store, e.g. with a sync token from a previous run.


refreshContextData? ​

ts
optional refreshContextData?: Record<string, unknown>;

Value surfaced as refreshContextData.

Released under the MIT License.