mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
fix(frontend): updates to test files after linting changes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
committed by
Philip Molares
parent
527e06dfa7
commit
033e627bab
@@ -34,7 +34,7 @@ export const JumpAnchor: React.FC<JumpAnchorProps> = ({ jumpTargetId, children,
|
||||
)
|
||||
|
||||
return (
|
||||
<a {...props} onClick={jumpToTargetId} href={`#${jumpTargetId}`}>
|
||||
<a {...props} onClick={jumpToTargetId} href={props.href ?? `#${jumpTargetId}`}>
|
||||
{children}
|
||||
</a>
|
||||
)
|
||||
|
||||
+1
-1
@@ -2481,7 +2481,7 @@ exports[`AbcFrame renders an error if abcjs render function crashes: with render
|
||||
<h3>
|
||||
This is a mock for ApplicationErrorAlert.
|
||||
</h3>
|
||||
Props:
|
||||
Props:
|
||||
<code>
|
||||
{}
|
||||
</code>
|
||||
|
||||
@@ -35,7 +35,8 @@ describe('build state from server permissions', () => {
|
||||
permissions: {
|
||||
owner: null,
|
||||
sharedToGroups: [],
|
||||
sharedToUsers: []
|
||||
sharedToUsers: [],
|
||||
publiclyVisible: false
|
||||
},
|
||||
editedBy: [],
|
||||
primaryAlias: 'test-id',
|
||||
|
||||
Reference in New Issue
Block a user