diff --git a/backend/src/templateFormatter.test.ts b/backend/src/templateFormatter.test.ts index ff2e809f..1713f839 100644 --- a/backend/src/templateFormatter.test.ts +++ b/backend/src/templateFormatter.test.ts @@ -8,7 +8,7 @@ test("Parses plain string templates correctly", (t) => { test("Parses templates with variables correctly", (t) => { const result = parseTemplate("foo {bar} baz"); - t.deepEqual(result, [ + t.deepEqual(result, [ "foo ", { identifier: "bar", @@ -20,7 +20,7 @@ test("Parses templates with variables correctly", (t) => { test("Parses templates with function variables correctly", (t) => { const result = parseTemplate('foo {bar("str", 5.07)} baz'); - t.deepEqual(result, [ + t.deepEqual(result, [ "foo ", { identifier: "bar", @@ -32,7 +32,7 @@ test("Parses templates with function variables correctly", (t) => { test("Parses function variables with variable arguments correctly", (t) => { const result = parseTemplate('foo {bar("str", 5.07, someVar)} baz'); - t.deepEqual(result, [ + t.deepEqual(result, [ "foo ", { identifier: "bar", @@ -51,7 +51,7 @@ test("Parses function variables with variable arguments correctly", (t) => { test("Parses function variables with function variable arguments correctly", (t) => { const result = parseTemplate('foo {bar("str", 5.07, deeply(nested(8)))} baz'); - t.deepEqual(result, [ + t.deepEqual(result, [ "foo ", { identifier: "bar", @@ -105,7 +105,7 @@ test("Edge case #1", async (t) => { test("Parses empty string args as empty strings", async (t) => { const result = parseTemplate('{foo("")}'); - t.deepEqual(result, [ + t.deepEqual(result, [ { identifier: "foo", args: [""],