Skip to content

Commit

Permalink
reinit validatedSchemas before each test to make them mor isolated..
Browse files Browse the repository at this point in the history
  • Loading branch information
ValJed committed Dec 30, 2024
1 parent 4bdb216 commit 2601619
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/schemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2601619

Please sign in to comment.