mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Merge pull request #498 from sharetribe/bugfix-app-test-fails
app.test.js needed updating
This commit is contained in:
commit
5c6bb9859a
2 changed files with 5 additions and 5 deletions
|
|
@ -34,12 +34,12 @@ describe('Application', () => {
|
|||
|
||||
it('server renders pages that do not require authentication', () => {
|
||||
const urlTitles = {
|
||||
'/': 'Book saunas everywhere | Saunatime',
|
||||
'/s': 'Search results for map search | Saunatime',
|
||||
'/': 'Book saunas everywhere',
|
||||
'/s': 'Search results for map search',
|
||||
'/l/listing-title-slug/1234': 'Loading listing…',
|
||||
'/l/1234': 'Loading listing…',
|
||||
'/u/1234': 'Profile page with display name: 1234',
|
||||
'/login': 'Login',
|
||||
'/login': 'Log in',
|
||||
'/signup': 'Sign up',
|
||||
'/recover-password': 'Request a new password',
|
||||
'/this-url-should-not-be-found': 'Page not found',
|
||||
|
|
@ -49,7 +49,7 @@ describe('Application', () => {
|
|||
const context = {};
|
||||
const { head, body } = render(url, context);
|
||||
|
||||
expect(head.title).toEqual(title);
|
||||
expect(head.title).toContain(title);
|
||||
|
||||
// context.url will contain the URL to redirect to if a <Redirect> was used
|
||||
expect(context.url).not.toBeDefined();
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"AuthenticationPage.resendEmailLinkText": "Resend it",
|
||||
"AuthenticationPage.resendFailed": "Resending verification email failed. Please try again.",
|
||||
"AuthenticationPage.resendFailedTooManyRequests": "Resending verification email failed, since you’ve already been sent 5 verification emails. Please try again tomorrow.",
|
||||
"AuthenticationPage.schemaTitleSignup": "Sing up | {siteTitle}",
|
||||
"AuthenticationPage.schemaTitleSignup": "Sign up | {siteTitle}",
|
||||
"AuthenticationPage.schemaTitleLogin": "Log in | {siteTitle}",
|
||||
"AuthenticationPage.sendingEmail": "Sending verification email…",
|
||||
"AuthenticationPage.signupFailed": "Signup failed. Please make sure all the information you entered is correct and try again.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue