Skip to content

Commit b4e9463

Browse files
committed
fix: error message from ajv
1 parent ed5df0e commit b4e9463

File tree

1 file changed

+2
-2
lines changed
  • tests/webpack-projects/query-parameter-overrides/cypress/integration

1 file changed

+2
-2
lines changed

tests/webpack-projects/query-parameter-overrides/cypress/integration/main.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ describe('Config Loading', () => {
2222
it('should not accept invalid query parameter override', () => {
2323
cy.visit(`/?config=${JSON.stringify({ urlProperty: 'not a url' })}`);
2424

25-
cy.get('body').should('contain', `Config Error: should match format "uri"`);
25+
cy.get('body').should('contain', `Config Error: must match format "uri"`);
2626
});
2727

2828
it('should not accept invalid longStringProperty', () => {
2929
cy.visit(`/?config=${JSON.stringify({ longStringProperty: 'short' })}`);
3030

31-
cy.get('body').should('contain', `Config Error: should NOT have fewer than 10 characters`);
31+
cy.get('body').should('contain', `Config Error: must NOT have fewer than 10 characters`);
3232
});
3333
});

0 commit comments

Comments
 (0)