()
| 22 | }); |
| 23 | |
| 24 | const gracefulShutdown = () => { |
| 25 | db.teardown() |
| 26 | .catch(() => {}) |
| 27 | .then(() => process.exit()); |
| 28 | }; |
| 29 | |
| 30 | process.on('SIGINT', gracefulShutdown); |
| 31 | process.on('SIGTERM', gracefulShutdown); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…