From f43259e5abdbf8f80418382349da79b8426dff27 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Mon, 27 Aug 2018 19:59:38 +0100 Subject: Moved console tests to own file, and switched circular test to use stringify with assertEqual --- js/console.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/console.ts') diff --git a/js/console.ts b/js/console.ts index c49a7621d..e08fc445e 100644 --- a/js/console.ts +++ b/js/console.ts @@ -13,7 +13,7 @@ function getClassInstanceName(instance: any): string { } // tslint:disable-next-line:no-any -export function stringify(ctx: ConsoleContext, value: any): string { +function stringify(ctx: ConsoleContext, value: any): string { switch (typeof value) { case "string": return value; @@ -95,7 +95,7 @@ function stringifyWithQuotes(ctx: ConsoleContext, value: any): string { } // tslint:disable-next-line:no-any -function stringifyArgs(args: any[]): string { +export function stringifyArgs(args: any[]): string { const out: string[] = []; for (const a of args) { if (typeof a === "string") { -- cgit v1.2.3