EmanuelVogt / expo-sqlite-typeorm-jest

this project as created to test typeorm using jest-expo sqlite plugin to test database connection with jest.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expo-sqlite-typeorm-jest

this project was created for testing typeorm db connection with expo-sqlite driver using jest;

🚀 typeorm in version 0.2.28, currently the getConnection() method doesn't work, making tests on the database impossible. This project was created with the intention of studying if the latest version of typeorm works correctly with the sqlite driver: expo-sqlite

RESULT: The newest typeorm version really doesn't work with expo-sqlite. The solution was use a separeted drive to connect and make the tests, it's not the best solution but is a alternative to test the database.

Features

  • Db connection tests
  • Db crud operations tests
  • User interface is not the focusing

🛠 Technologies

the following tools were used to build this little this project

About

this project as created to test typeorm using jest-expo sqlite plugin to test database connection with jest.


Languages

Language:Java 38.6%Language:C++ 16.5%Language:TypeScript 16.5%Language:Objective-C++ 13.7%Language:Starlark 4.6%Language:Ruby 3.9%Language:Makefile 3.6%Language:JavaScript 1.6%Language:Objective-C 0.9%