DevOpsReminders / DevOpsReminders/api-devopsreminders

`test:all` mocha failures

Aperta
#9 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug good first issue
Lingua principale
TypeScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

running `yarn test:unit` or `yarn test:e2e` work fine but running `yarn test` throws errors:
```sh
1) log in
"before all" hook in "log in":
QueryFailedError: SQLITE_ERROR: table "users" already exists
at handler (node_modules/typeorm/src/driver/sqlite/SqliteQueryRunner.ts:113:26)
at replacement (node_modules/sqlite3/lib/trace.js:25:27)
at Statement.errBack (node_modules/sqlite3/lib/sqlite3.js:15:21)
```

It seems we are missing an `after` hook or maybe the typeormHelper has bugs?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.