hacifootprint

conformSource

Function: conformSource()

conformSource(source, opts?): ConformanceReport

Defined in: src/testing/conform.ts:696

Run a source's declarations through the real compiler and the real serving port and report every field that did not come out the other side.

Parameters

source

SourceUnderTest

opts?

ConformanceOptions

Returns

ConformanceReport

Example

const report = conformSource((fixture) => fromLiveStore(fixture.store));
report.dropped; // [] — every declared field survived both seams

On this page