mirror of
https://github.com/strapi/strapi.git
synced 2025-09-02 05:13:03 +00:00
Fix sqlite test pool
Signed-off-by: Danilo Polani <danilo.polani@gmail.com>
This commit is contained in:
parent
af773f4d5c
commit
ac23ae5afe
@ -24,11 +24,11 @@ Please note that this guide will not work if you are on Windows using the SQLite
|
||||
:::: tabs
|
||||
|
||||
::: tab yarn
|
||||
`yarn add jest supertest`
|
||||
`yarn add -D jest supertest`
|
||||
:::
|
||||
|
||||
::: tab npm
|
||||
`npm install jest supertest`
|
||||
`npm i -D jest supertest`
|
||||
:::
|
||||
::::
|
||||
|
||||
@ -89,7 +89,7 @@ The whole file will look like this:
|
||||
"useNullAsDefault": true,
|
||||
"pool": {
|
||||
"min": 0,
|
||||
"max": 15
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -158,9 +158,8 @@ afterAll(async done => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('strapi is defined', async done => {
|
||||
it('strapi is defined', () => {
|
||||
expect(strapi).toBeDefined();
|
||||
done();
|
||||
});
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user