diff options
Diffstat (limited to 'Headless-Drupal-A -PWA-with-Drupal-and-React-Js-Fahad/Front End/src/App.test.js')
-rw-r--r-- | Headless-Drupal-A -PWA-with-Drupal-and-React-Js-Fahad/Front End/src/App.test.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Headless-Drupal-A -PWA-with-Drupal-and-React-Js-Fahad/Front End/src/App.test.js b/Headless-Drupal-A -PWA-with-Drupal-and-React-Js-Fahad/Front End/src/App.test.js new file mode 100644 index 0000000..a754b20 --- /dev/null +++ b/Headless-Drupal-A -PWA-with-Drupal-and-React-Js-Fahad/Front End/src/App.test.js @@ -0,0 +1,9 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; +import App from './App'; + +it('renders without crashing', () => { + const div = document.createElement('div'); + ReactDOM.render(<App />, div); + ReactDOM.unmountComponentAtNode(div); +}); |