Browse Source

Fix tests

gh-pages
Andrew Kingston 5 years ago
parent
commit
545c710ce5
  1. 2
      packages/string-templates/test/basic.spec.js

2
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)
})
})

Loading…
Cancel
Save