-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyEvents
in LiveLayout
#3595
KeyEvents
in LiveLayout
#3595
Conversation
Size Change: +5.04 kB (0%) Total Size: 3.1 MB
ℹ️ View Unchanged
|
Co-authored-by: Olly <olly.namey@theguardian.com>
Co-authored-by: OllysCoding
Co-authored by @OllysCoding
Co-Authored-By: Olly <9575458+OllysCoding@users.noreply.github.com>
Co-Authored-By: Olly <9575458+OllysCoding@users.noreply.github.com>
dotcom-rendering/src/web/components/KeyEventsContainer.test.tsx
Outdated
Show resolved
Hide resolved
@@ -1,6 +1,7 @@ | |||
{ | |||
"extends": "./tsconfig.json", | |||
"compilerOptions": { | |||
"preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -94,7 +94,7 @@ const buildPayload = async ({ | |||
optedOutOfArticleCount, | |||
modulesVersion: MODULES_VERSION, | |||
sectionId, | |||
tagIds: tags.map(tag => tag.id), | |||
tagIds: tags.map((tag) => tag.id), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prettier hangover
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
What does this change?
This PR adds the
KeyEvents
component to the DCRLiveLayout
file so it renders on live and dead blogs.isolatedModules
?We set this to true in the jest config for DCR because we were getting errors when importing code from common rendering into jest.
See this issue with ts-jest