Skip to content

Commit c5a0cca

Browse files
committed
Typecheck
1 parent 770afa2 commit c5a0cca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/plugin.test.mts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {
33
Application,
44
Comment,
55
DeclarationReflection,
6+
normalizePath,
67
ProjectReflection,
78
ReflectionType,
89
TSConfigReader,
@@ -123,11 +124,10 @@ test("Schemas which have multiple declarations, #2", () => {
123124

124125
test("Serialized/deserialized projects do not create warnings, #6", () => {
125126
const project = convert("gh6.ts");
126-
const ser = app.serializer.projectToObject(project, process.cwd());
127+
const ser = app.serializer.projectToObject(project, normalizePath(process.cwd()));
127128
app.deserializer.reviveProject("gh6", ser, {
128-
projectRoot: process.cwd(),
129+
projectRoot: normalizePath(process.cwd()),
129130
registry: project.files,
130-
addProjectDocuments: false,
131131
});
132132

133133
expect(project.toStringHierarchy()).toBe(outdent`

0 commit comments

Comments
 (0)