Skip to content

Commit 4ef17ad

Browse files
committed
fix test
1 parent 45f0437 commit 4ef17ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

shared/src/model-visitor/logging-visitor.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,10 @@ describe('LoggingVisitor', () => {
8282
};
8383

8484
// eslint-disable-next-line @typescript-eslint/no-explicit-any
85-
(LoggingVisitor as any).logger = logger;
8685
const json = JSON.stringify(testArch, null, 2);
8786
const architecture: CalmCoreSchema = JSON.parse(json);
8887
const core = CalmCore.fromSchema(architecture);
89-
const visitor = new LoggingVisitor(logger);
88+
const visitor = new LoggingVisitor((logger as Logger));
9089
await visitor.visit(core);
9190

9291
const logLines = logger.info.mock.calls.map(args => args[0]);

0 commit comments

Comments
 (0)