mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-24 09:12:20 +03:00
15 lines
247 B
JavaScript
15 lines
247 B
JavaScript
|
import log from '@/helpers/log'
|
||
|
|
||
|
import cleanTestDbs from './clean-test-dbs'
|
||
|
|
||
|
/**
|
||
|
* Execute the cleaning test DBs script
|
||
|
*/
|
||
|
(async () => {
|
||
|
try {
|
||
|
await cleanTestDbs()
|
||
|
} catch (e) {
|
||
|
log.error(`Failed to clean test DBs: ${e}`)
|
||
|
}
|
||
|
})()
|