UNPKG

@sprucelabs/schema

Version:

Static and dynamic binding plus runtime validation and transformation to ensure your app is sound. 🤓

10 lines (9 loc) • 341 B
import AbstractSpruceTest from '@sprucelabs/test-utils'; import { SchemaRegistry } from './index.js'; export default class AbstractSchemaTest extends AbstractSpruceTest { static async beforeEach() { await super.beforeEach(); this.registry = SchemaRegistry.getInstance(); this.registry.forgetAllSchemas(); } }