From abbc3d232fa4106b0f0967465aa0bba12b90356d Mon Sep 17 00:00:00 2001 From: Alessandro Chitolina Date: Fri, 10 Nov 2023 01:05:11 +0100 Subject: [PATCH] [Autoloader] fix: fixed imports of node schema and loadFile calls --- test/Loader/MetadataProcessorLoaderTest.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Loader/MetadataProcessorLoaderTest.js b/test/Loader/MetadataProcessorLoaderTest.js index 183fbdf..034e176 100644 --- a/test/Loader/MetadataProcessorLoaderTest.js +++ b/test/Loader/MetadataProcessorLoaderTest.js @@ -6,10 +6,10 @@ const Fixtures = Jymfony.Component.Metadata.Fixtures; const MetadataInterface = Jymfony.Contracts.Metadata.MetadataInterface; const Argument = Jymfony.Component.Testing.Argument.Argument; const Prophet = Jymfony.Component.Testing.Prophet; -const { ClassAnnot } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/ClassAnnot.js', null); -const { NotHandledAnnotation } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/NotHandledAnnotation.js', null); -const { MethodAnnotation1 } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/MethodAnnotation1.js', null); -const { MethodAnnotation2 } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/MethodAnnotation2.js', null); +const { ClassAnnot } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/ClassAnnot.js'); +const { NotHandledAnnotation } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/NotHandledAnnotation.js'); +const { MethodAnnotation1 } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/MethodAnnotation1.js'); +const { MethodAnnotation2 } = __jymfony.autoload._classLoader.loadFile(__dirname + '/../../fixtures/decorators/MethodAnnotation2.js'); describe('[Metadata] MetadataProcessorLoader', function () { /**