From 4239ab226b32c16eafe05b99f9e67d2268c9d7ae Mon Sep 17 00:00:00 2001 From: Jonathan Casey Date: Wed, 15 Nov 2023 16:32:23 +0000 Subject: [PATCH] test(*): resets sandbox for test scenario Signed-off-by: Jonathan Casey --- test/codegen/fromcto/xmlschema/xmlschemavisitor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/codegen/fromcto/xmlschema/xmlschemavisitor.js b/test/codegen/fromcto/xmlschema/xmlschemavisitor.js index 44be6e9e..83385b6d 100644 --- a/test/codegen/fromcto/xmlschema/xmlschemavisitor.js +++ b/test/codegen/fromcto/xmlschema/xmlschemavisitor.js @@ -633,6 +633,8 @@ describe('XmlSchemaVisitor', function () { const getKeyType = sinon.stub(); const getValueType = sinon.stub(); + sandbox.reset(); + mockMapDeclaration.getModelFile.returns(mockModelFile); mockModelFile.getNamespace.returns('org.acme'); mockModelFile.getType.returns(mockDeclaration);