From 26016199aad49652bc617c5cf9e6ec3071b4e04d Mon Sep 17 00:00:00 2001 From: Jed Date: Mon, 30 Dec 2024 14:01:39 +0100 Subject: [PATCH] reinit validatedSchemas before each test to make them mor isolated.. --- test/schemas.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/schemas.js b/test/schemas.js index 0582926775..f094aa1351 100644 --- a/test/schemas.js +++ b/test/schemas.js @@ -241,6 +241,10 @@ describe('Schemas', function() { this.timeout(t.timeout); + beforeEach(async function () { + apos.schema.validatedSchemas = {}; + }); + before(async function() { apos = await t.create({ root: module,