I have a problem that I don\'t know how to solve, I get this error when running npm test
Invariant Violation: You should not use
i found a solution to resolve this issue
here is the Example code
import React from 'react';
import Home from './HomeComponent/Home';
import { Switch, Route } from 'react-router';
import { BrowserRouter } from "react-router-dom";
class App extends React.Component{
render(){
return(
(
)}/>
)
}
}
export default App;