UNPKG

@sprucelabs/schema

Version:

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

16 lines (15 loc) • 581 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const test_utils_1 = __importDefault(require("@sprucelabs/test-utils")); const _1 = require("."); class AbstractSchemaTest extends test_utils_1.default { static async beforeEach() { await super.beforeEach(); this.registry = _1.SchemaRegistry.getInstance(); this.registry.forgetAllSchemas(); } } exports.default = AbstractSchemaTest;