From 50151b7e18effe2c57f5cbb621798dc029e21c85 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 17 Mar 2021 15:41:03 -0400 Subject: [PATCH] Update snapshot test --- .../EditorTest__test__debugInfo__1.json | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/tests/__snapshots__/EditorTest__test__debugInfo__1.json b/tests/__snapshots__/EditorTest__test__debugInfo__1.json index 6c18fa4..d7999bf 100644 --- a/tests/__snapshots__/EditorTest__test__debugInfo__1.json +++ b/tests/__snapshots__/EditorTest__test__debugInfo__1.json @@ -4,27 +4,36 @@ "y": 0 }, "document": { - "syntax": null, + "fileType": { + "name": "No filetype", + "syntax": { + "tokens": [], + "filetype": "No filetype", + "keywords1": [], + "keywords2": [], + "singleLineCommentStart": "", + "multiLineCommentStart": "", + "multiLineCommentEnd": "", + "flags": 0 + } + }, "tokens": [], + "filename": "", "rows": [], - "filename": null + "dirty": false }, "offset": { "x": 0, "y": 0 }, - "dirty": false, - "filename": "", "renderX": 0, - "rows": [], "terminalSize": { "rows": 21, "cols": 80 }, "statusMessage": { "text": "HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find", + "len": 51, "time": 1234567890 - }, - "syntax": null, - "tokens": [] + } }