diff --git a/.editorconfig b/.editorconfig index 8f9bbe2..cce3fb3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,7 +14,7 @@ indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true -insert_final_newline = true +# insert_final_newline = true [*.md] -trim_trailing_whitespace = false \ No newline at end of file +trim_trailing_whitespace = false diff --git a/test/arguments.test.ts b/test/arguments.test.ts index d3b7958..b760b62 100644 --- a/test/arguments.test.ts +++ b/test/arguments.test.ts @@ -110,8 +110,8 @@ describe('Test commander options', () => { ' -getNaturalColor(thing: Thing, pos: Vector, norm: Vector, rd: Vector, scene: Scene): any', ' +render(scene: any, ctx: any, screenWidth: any, screenHeight: any): void', '}', - '+defaultScene(): Scene', - '+exec(): void', + // '+defaultScene(): Scene', + // '+exec(): void', 'Ray --> "1" Vector', 'Intersection --> "1" Thing', 'Intersection --> "1" Ray', diff --git a/test/mermaid/results/playground_raytracer b/test/mermaid/results/playground_raytracer index 7eddf6b..7ac05d3 100644 --- a/test/mermaid/results/playground_raytracer +++ b/test/mermaid/results/playground_raytracer @@ -92,8 +92,6 @@ class RayTracer { -getNaturalColor(thing: Thing, pos: Vector, norm: Vector, rd: Vector, scene: Scene): any +render(scene: any, ctx: any, screenWidth: any, screenHeight: any): void } -+defaultScene(): Scene -+exec(): void Ray ..> "1" Vector Intersection ..> "1" Thing Intersection ..> "1" Ray diff --git a/test/playground.test.ts b/test/playground.test.ts index 3eb1804..8370eaf 100644 --- a/test/playground.test.ts +++ b/test/playground.test.ts @@ -280,8 +280,8 @@ describe('Parse Playground codes', () => { ' -getNaturalColor(thing: Thing, pos: Vector, norm: Vector, rd: Vector, scene: Scene): any', ' +render(scene: any, ctx: any, screenWidth: any, screenHeight: any): void', '}', - '+defaultScene(): Scene', - '+exec(): void', + // '+defaultScene(): Scene', + // '+exec(): void', '@enduml'].join(os.EOL)); }); });