title: open sqlite DB from Jest using react-native-sqlite-storage
body: <p>I've a simple spec file to run JEST:</p>
  
  <pre><code>describe('config', () =&gt; {
    it('should be able to open database', () =&gt; {
      console.log(SQLite);
      SQLite.openDatabase(
        {
          name: 'TestDB',
          createFromLocation: '~/www/test.db'
        },
        () =&gt; console.log('success'),
        () =&gt; console.log('fail')
      );
    });
  });
  </code></pre>
  
  <p>I want to write test which can open a pre-populated test.db (created using DB Browser for SQlite). DB is within ./www/test.db relative to the location of spec file. When I run SQLite.openDatabase, it fails with following error:</p>
  
  <p><strong>TypeError: Cannot read property 'open' of undefined</strong></p>
  
  <p>Eventually, I want to write a library to access data from sqlite as needed by a react-native app. However, this is the basic test which blocks further work.</p>