summaryrefslogtreecommitdiff
path: root/cli/tests/unit/error_stack_test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /cli/tests/unit/error_stack_test.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/tests/unit/error_stack_test.ts')
-rw-r--r--cli/tests/unit/error_stack_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/error_stack_test.ts b/cli/tests/unit/error_stack_test.ts
index 052cb9591..af7467684 100644
--- a/cli/tests/unit/error_stack_test.ts
+++ b/cli/tests/unit/error_stack_test.ts
@@ -26,7 +26,7 @@ interface CallSite {
function getMockCallSite(
fileName: string,
lineNumber: number | null,
- columnNumber: number | null
+ columnNumber: number | null,
): CallSite {
return {
getThis(): unknown {
@@ -87,7 +87,7 @@ unitTest(function prepareStackTrace(): void {
assert(typeof MockError.prepareStackTrace === "function");
const prepareStackTrace: (
error: Error,
- structuredStackTrace: CallSite[]
+ structuredStackTrace: CallSite[],
) => string = MockError.prepareStackTrace;
const result = prepareStackTrace(new Error("foo"), [
getMockCallSite("CLI_SNAPSHOT.js", 23, 0),