Update test to reflect not treating summary as markdown

This commit is contained in:
Gabe Kangas 2022-07-12 17:54:30 -07:00
parent 533bdf9e3d
commit 101359cfc3
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -101,7 +101,7 @@ test('verify updated config values', async (done) => {
const res = await request.get('/api/config');
expect(res.body.name).toBe(serverName);
expect(res.body.streamTitle).toBe(streamTitle);
expect(res.body.summary).toBe(`<p>${serverSummary}</p>`);
expect(res.body.summary).toBe(`${serverSummary}`);
expect(res.body.extraPageContent).toBe(pageContent);
expect(res.body.logo).toBe('/logo');
expect(res.body.socialHandles).toStrictEqual(socialHandles);