summaryrefslogtreecommitdiff
path: root/Headless-Drupal-A -PWA-with-Drupal-and-React-Js-by-Fahad-Israr/Front End/src/App.test.js
diff options
context:
space:
mode:
authorFahad Israr2019-07-12 15:38:11 +0530
committerFahad Israr2019-07-12 15:38:11 +0530
commite28c55072ac83f6f4f6efcc15650c0115d59bed0 (patch)
tree2cef84573addf5951367bda21b9e67b782f99a95 /Headless-Drupal-A -PWA-with-Drupal-and-React-Js-by-Fahad-Israr/Front End/src/App.test.js
parent73a7c5c17c566f84e46248ab72739a945c351e11 (diff)
downloadacadmix_distribution-e28c55072ac83f6f4f6efcc15650c0115d59bed0.tar.gz
acadmix_distribution-e28c55072ac83f6f4f6efcc15650c0115d59bed0.tar.bz2
acadmix_distribution-e28c55072ac83f6f4f6efcc15650c0115d59bed0.zip
Final Tested Build of Headless Drupal
Diffstat (limited to 'Headless-Drupal-A -PWA-with-Drupal-and-React-Js-by-Fahad-Israr/Front End/src/App.test.js')
-rw-r--r--Headless-Drupal-A -PWA-with-Drupal-and-React-Js-by-Fahad-Israr/Front End/src/App.test.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/Headless-Drupal-A -PWA-with-Drupal-and-React-Js-by-Fahad-Israr/Front End/src/App.test.js b/Headless-Drupal-A -PWA-with-Drupal-and-React-Js-by-Fahad-Israr/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-by-Fahad-Israr/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);
+});