Skip to main content

registerBenchFixtures

@webda/bench


Function: registerBenchFixtures()

registerBenchFixtures(): ModelClass

Defined in: packages/bench/src/suites/fixtures.ts:57

Register the benchmark models in the current application (once), with the runtime metadata the module loader sets

Same approach as registerLegacyTypeFixtures of @webda/core/lib/test: the fixture is not part of any webda.module.json, so stores can only claim it once registered.

Returns​

ModelClass

the model class