diff --git a/cypress/e2e/1_load.cy.js b/cypress/e2e/1_load.cy.js index efa74dd..4370585 100644 --- a/cypress/e2e/1_load.cy.js +++ b/cypress/e2e/1_load.cy.js @@ -7,6 +7,6 @@ describe('Basic load', () => { }); it('loads the site', () => { - cy.get('.container > h1').should('contain.text', 'NELA API'); + cy.get('.container > h1').should('contain.text', 'Demo'); }); }); diff --git a/test/api.test.mjs b/test/api.test.mjs index 82fae9c..2df1e5b 100644 --- a/test/api.test.mjs +++ b/test/api.test.mjs @@ -29,8 +29,8 @@ describe('Request to / returns the interactive front end', () => { expectTypeOf(body).toBeArray(); }); - test('One of the elements in the array should contain

NELA API

', () => { - expect(body).to.have.string('

NELA API

'); + test('One of the elements in the array should contain `NELA Risk Calc API`', () => { + expect(body).to.have.string('NELA Risk Calc API'); }); });