Skip to content

Commit 81c59bc

Browse files
committed
Fix failing test
1 parent fff32ef commit 81c59bc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/lib/models/types.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ReflectionSymbolId } from "./ReflectionSymbolId.js";
66
import type { DeclarationReference } from "#utils";
77
import { ReflectionKind } from "./kind.js";
88
import { Comment, type CommentDisplayPart } from "./Comment.js";
9-
import { i18n, joinArray } from "#utils";
9+
import { i18n, joinArray, NonEnumerable } from "#utils";
1010
import type { SignatureReflection } from "./SignatureReflection.js";
1111

1212
/**
@@ -917,6 +917,7 @@ export class ReferenceType extends Type {
917917
preferValues = false;
918918

919919
private _target: ReflectionSymbolId | number;
920+
@NonEnumerable
920921
private _project: ProjectReflection | null;
921922

922923
private constructor(

src/test/issues.c2.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ describe("Issue Tests", () => {
553553
});
554554

555555
it("#1898", () => {
556+
app.options.setValue("validation", true);
556557
const project = convert();
557558
app.validate(project);
558559
logger.expectMessage(

0 commit comments

Comments
 (0)