Fix sqlite test pool

Signed-off-by: Danilo Polani <danilo.polani@gmail.com>
This commit is contained in:
Theraloss 2020-09-03 16:20:39 +02:00 committed by Danilo Polani
parent af773f4d5c
commit ac23ae5afe

View File

@ -24,11 +24,11 @@ Please note that this guide will not work if you are on Windows using the SQLite
:::: tabs :::: tabs
::: tab yarn ::: tab yarn
`yarn add jest supertest` `yarn add -D jest supertest`
::: :::
::: tab npm ::: tab npm
`npm install jest supertest` `npm i -D jest supertest`
::: :::
:::: ::::
@ -89,7 +89,7 @@ The whole file will look like this:
"useNullAsDefault": true, "useNullAsDefault": true,
"pool": { "pool": {
"min": 0, "min": 0,
"max": 15 "max": 1
} }
} }
} }
@ -158,9 +158,8 @@ afterAll(async done => {
done(); done();
}); });
it('strapi is defined', async done => { it('strapi is defined', () => {
expect(strapi).toBeDefined(); expect(strapi).toBeDefined();
done();
}); });
``` ```