From efe28ca55ce93140655e6a529bad7d182e539453 Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Tue, 16 Jun 2020 19:54:46 +0300 Subject: [PATCH] Introduce BACKSPACE constant Signed-off-by: Lauri Nevala --- spec/integration/specs/app_spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/integration/specs/app_spec.ts b/spec/integration/specs/app_spec.ts index 3c399b3a35..4b52f3b115 100644 --- a/spec/integration/specs/app_spec.ts +++ b/spec/integration/specs/app_spec.ts @@ -5,6 +5,8 @@ import { stat } from "fs" jest.setTimeout(20000) +const BACKSPACE = "\uE003" + describe("app start", () => { let app: Application const clickWhatsNew = async (app: Application) => { @@ -78,7 +80,7 @@ describe("app start", () => { await app.client.keys("kind: Pod\n") await app.client.keys("metadata:\n") await app.client.keys(" name: nginx\n") - await app.client.keys("\uE003spec:\n") + await app.client.keys(BACKSPACE + "spec:\n") await app.client.keys(" containers:\n") await app.client.keys("- name: nginx\n") await app.client.keys(" image: nginx:alpine\n")