1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12:00

Updating manifest tests.

This commit is contained in:
mike12345567 2021-02-01 13:17:42 +00:00
parent 2dccd49a61
commit 17ad4577f6
2 changed files with 2 additions and 2 deletions

View file

@ -107,6 +107,6 @@ describe("check manifest", () => {
it("should be able to retrieve the manifest", () => {
const manifest = getManifest()
expect(manifest.math).not.toBeNull()
expect(manifest.math.abs.description).toBe("Return the magnitude of `a`.")
expect(manifest.math.abs.description).toBe("<p>Return the magnitude of <code>a</code>.</p>\n")
})
})

View file

@ -167,7 +167,7 @@ describe("test the date helpers", () => {
it("should allow use of the date helper with now time", async () => {
const date = new Date()
const output = await processString("{{ date now 'DD' }}", {})
expect(output).toBe(date.getDate().toString())
expect(parseInt(output)).toBe(date.getDate())
})
})