Go to file
Junyi b0ba1472bb
Test cases for database (#16)
* fix: remove unused import

* fix: use env instead of hard code for create database instance

* refactor: change most "all" hook to "each" hook

* refactor: split test suits into files

* add: use DB_LOG_SQL in env to control SQL in log

* add: test for logical operator and fixes
2020-11-18 10:35:37 +08:00
packages Test cases for database (#16) 2020-11-18 10:35:37 +08:00
.editorconfig 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.env.example Test cases for database (#16) 2020-11-18 10:35:37 +08:00
.eslintrc 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.fatherrc.ts 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.gitignore 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
docker-compose.yml 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
dotenv.js first commit 2020-10-24 15:34:43 +08:00
jest.config.js 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
lerna.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
nodemon.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
package.json Refactor: change global injection of test for actions package. (#15) 2020-11-16 20:38:56 +08:00
README.md 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
tsconfig.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00

Development

Install Dependencies

# Install dependencies for root project
npm i

# Install dependencies for sub packages via lerna
npm run bootstrap

Set Environment Variables

cp .env.example .env

Test

# For all packages
npm test

# For specific package
npm test packages/<name>