diff options
author | Fahad Israr | 2019-07-12 15:36:49 +0530 |
---|---|---|
committer | Fahad Israr | 2019-07-12 15:36:49 +0530 |
commit | 73a7c5c17c566f84e46248ab72739a945c351e11 (patch) | |
tree | 6f9582fd3a9ce9db0bcd73f7dc1df735277641d5 /Headless-Drupal-A -PWA-with-Drupal-and-React-Js-Fahad/Front End/src/App.test.js | |
parent | 71dd4dd5f69b3efdb9c4494e40888066e1666a57 (diff) | |
download | acadmix_distribution-73a7c5c17c566f84e46248ab72739a945c351e11.tar.gz acadmix_distribution-73a7c5c17c566f84e46248ab72739a945c351e11.tar.bz2 acadmix_distribution-73a7c5c17c566f84e46248ab72739a945c351e11.zip |
Final Tested Build of Headless Drupal
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); +}); |