Skip to content

TestEngineOptions

Defined in: packages/engine/src/testing/index.ts:88

Options for createTestEngine.

optional includeBuiltins?: boolean;

Defined in: packages/engine/src/testing/index.ts:97

Whether to load the engine’s built-in packages (arithmetic, units, dates, and the rest) before the packages under test. Defaults to true, because almost every package builds on arithmetic and most authors want a realistic engine. Set false to test a package in isolation.


optional locale?: string;

Defined in: packages/engine/src/testing/index.ts:90

Locale passed to the engine. Defaults to "en".