chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/* eslint-disable flowtype/require-valid-file-annotation */
|
||||
import mailer from './mailer';
|
||||
import mailer from "./mailer";
|
||||
|
||||
describe('Mailer', () => {
|
||||
describe("Mailer", () => {
|
||||
let fakeMailer = mailer;
|
||||
let sendMailOutput;
|
||||
|
||||
beforeEach(() => {
|
||||
process.env.URL = 'http://localhost:3000';
|
||||
process.env.SMTP_FROM_EMAIL = 'hello@example.com';
|
||||
process.env.URL = "http://localhost:3000";
|
||||
process.env.SMTP_FROM_EMAIL = "hello@example.com";
|
||||
jest.resetModules();
|
||||
|
||||
fakeMailer.transporter = {
|
||||
@@ -15,10 +15,10 @@ describe('Mailer', () => {
|
||||
};
|
||||
});
|
||||
|
||||
test('#welcome', () => {
|
||||
test("#welcome", () => {
|
||||
fakeMailer.welcome({
|
||||
to: 'user@example.com',
|
||||
teamUrl: 'http://example.com',
|
||||
to: "user@example.com",
|
||||
teamUrl: "http://example.com",
|
||||
});
|
||||
expect(sendMailOutput).toMatchSnapshot();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user