{context.config.SITE_NAME} test page
+{config.SITE_NAME} test page
Links
Visit authenticated page.
@@ -45,8 +46,8 @@ export default function ExamplePage() {Visit error page.
Context Config Test
-Is context.config equal to getConfig()? {printTestResult(context.config === getConfig())}
-Is context.authenticatedUser equal to getAuthenticatedUser()? {printTestResult(context.authenticatedUser === getAuthenticatedUser())}
+Is context.config equal to getConfig()? {printTestResult(config === getConfig())}
+Is context.authenticatedUser equal to getAuthenticatedUser()? {printTestResult(authenticatedUser === getAuthenticatedUser())}
SCSS parsing tests
"The Apples" should be red (color: red;
via .red-text
CSS class in SCSS stylesheet)
{intl.formatMessage(messages['test-project.message'])}
Authenticated User Test
- {context.authenticatedUser !== null ? ( + {authenticatedUser !== null ? (Authenticated Username: {context.authenticatedUser.username}
+Authenticated Username: {authenticatedUser.username}
Authenticated user's name: - {context.authenticatedUser.username} + {authenticatedUser.username} (Only available if user account has been fetched)
Unauthenticated {printTestResult(context.authenticatedUser === null)}
+Unauthenticated {printTestResult(authenticatedUser === null)}
)}