Skip to content

Commit

Permalink
wat
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 13, 2023
1 parent 52190d1 commit 905c31c
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions frontend/src/scenes/notebooks/Notebook/Notebook.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,41 @@ const testCases: Record<string, NotebookType> = {
],
},
]),
'api/projects/:team_id/notebooks/bullet-list': notebookTestTemplate('bullet-list', [
{
type: 'bulletList',
content: [
{
type: 'listItem',
content: [
{
type: 'paragraph',
content: [
{
type: 'text',
text: 'first item',
},
],
},
],
},
{
type: 'listItem',
content: [
{
type: 'paragraph',
content: [
{
type: 'text',
text: 'second item',
},
],
},
],
},
],
},
]),
'api/projects/:team_id/notebooks/recordings-playlist': notebookTestTemplate('recordings-playlist', [
{
type: 'ph-recording-playlist',
Expand Down Expand Up @@ -340,6 +375,13 @@ export function NumberedList(): JSX.Element {
return <App />
}

export function BulletList(): JSX.Element {
useEffect(() => {
router.actions.push(urls.notebook('bullet-list'))
}, [])
return <App />
}

export function RecordingsPlaylist(): JSX.Element {
useEffect(() => {
router.actions.push(urls.notebook('recordings-playlist'))
Expand Down

0 comments on commit 905c31c

Please sign in to comment.