This commit is contained in:
lesleyjanenorton 2019-01-14 20:27:19 -06:00
Родитель 9bb9a8a731
Коммит 5f590b5992
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -55,7 +55,7 @@ test("notify POST with breach, subscriber hash prefix and suffixes should call s
await hibp.notify(mockRequest, mockResponse);
const mockFluentFormatCalls = LocaleUtils.fluentFormat.mock.calls;
expect (mockFluentFormatCalls.length).toBe(2);
expect (mockFluentFormatCalls.length).toBe(1);
const mockFluentFormatCallArgs = mockFluentFormatCalls[0];
expect (mockFluentFormatCallArgs[0]).toEqual(["en"]);
expect (mockFluentFormatCallArgs[1]).toBe("hibp-notify-email-subject");