Browse Source

Update test to reflect not treating summary as markdown

pull/2032/head
Gabe Kangas 4 years ago
parent
commit
101359cfc3
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 2
      test/automated/api/configmanagement.test.js

2
test/automated/api/configmanagement.test.js

@ -101,7 +101,7 @@ test('verify updated config values', async (done) => { @@ -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);

Loading…
Cancel
Save