From d65d4975c9fe407635eb3364a7832072ef6578f5 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 28 Jun 2021 10:00:22 +0100 Subject: [PATCH] Fix tests --- packages/string-templates/test/basic.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/string-templates/test/basic.spec.js b/packages/string-templates/test/basic.spec.js index f9b994be99..4536a159df 100644 --- a/packages/string-templates/test/basic.spec.js +++ b/packages/string-templates/test/basic.spec.js @@ -111,7 +111,7 @@ describe("check the utility functions", () => { it("should be able to handle an input date object", async () => { const date = new Date() const output = await processString("{{ dateObj }}", { dateObj: date }) - expect(date.toISOString()).toEqual(output) + expect(date.toString()).toEqual(output) }) })