diff --git a/src/mail.test.js b/src/mail.test.js index 62b1507..4247d16 100644 --- a/src/mail.test.js +++ b/src/mail.test.js @@ -49,11 +49,11 @@ describe('mail', () => { describe('payload', () => { it('supports a type', () => { - input.type = 'text/html' - expect(payload(input).content[0].type).toBe('text/html') - input.type = 'text/plain' - expect(payload(input).content[0].type).toBe('text/plain') - }) + input.type = 'text/html'; + expect(payload(input).content[0].type).toBe('text/html'); + input.type = 'text/plain'; + expect(payload(input).content[0].type).toBe('text/plain'); + }); it('supports multiple recipients', () => { expect( payload({ to: 'one@example.com,two@example.com' }).personalizations[0].to, diff --git a/src/test.js b/src/test.js index 3e07184..3df2830 100644 --- a/src/test.js +++ b/src/test.js @@ -9,7 +9,7 @@ export const input = { body: '

an html body

', subject: 'hello', to: 'ex@mple.com', - type: 'text/html' + type: 'text/html', }; export const inputUrlEncoded = `to=${input.to}&subject=${input.subject}&body=${input.body}&attachments[][type]=text/plain&attachments[][content]=aGVsbG8sIHdvcmxkIQ==&attachments[][filename]=hello.txt&type=text/html`;