TestEngineOptions
Defined in: packages/engine/src/testing/index.ts:88
Options for createTestEngine.
Properties
Section titled “Properties”includeBuiltins?
Section titled “includeBuiltins?”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.
locale?
Section titled “locale?”optional locale?: string;Defined in: packages/engine/src/testing/index.ts:90
Locale passed to the engine. Defaults to "en".