mirror of https://github.com/buster-so/buster.git
test fix
This commit is contained in:
parent
cee3c9d058
commit
b701c8069e
|
@ -35,7 +35,11 @@ describe('IndentedContent', () => {
|
|||
});
|
||||
|
||||
it('should handle text nodes directly', () => {
|
||||
const { lastFrame } = render(<IndentedContent>Direct text content</IndentedContent>);
|
||||
const { lastFrame } = render(
|
||||
<IndentedContent>
|
||||
<Text>Direct text content</Text>
|
||||
</IndentedContent>
|
||||
);
|
||||
|
||||
expect(lastFrame()).toContain('Direct text content');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue