Skip to content

Commit

Permalink
fix(rehype-docz): update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Mar 12, 2019
1 parent 6ca7b87 commit 548f940
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/rehype-docz/src/index.test.ts
Expand Up @@ -26,5 +26,7 @@ test('adding custom props on <Playground>', async () => {
expect(result).toMatch(
`__code={'() => {\\n const foo = \\'foo\\'\\n return <div>{foo}</div>\\n}'}`
)
expect(result).toMatch(`__scope={{props: this ? this.props : props,}}`)
expect(result).toMatch(
`__scope={{props: this ? this.props : props,Playground}}`
)
})

0 comments on commit 548f940

Please sign in to comment.