You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
text() returns element instead of text
To Reproduce
Steps to reproduce the behavior:
src/namaskaara.tsx
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import './app.css'; // contains a single line @import '~bootstrap/dist/css/bootstrap.min.css';
import { Alert } from 'reactstrap';
export const namaskaara =
<div>
<Alert color="info">namaskaara react !</Alert>
</div>;
Describe the bug
text() returns element instead of text
To Reproduce
Steps to reproduce the behavior:
src/namaskaara.tsx
src/test/namaskaara.spec.tsx
Expected behavior
expect that text() returns 'namaskaara react !'
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: