fancy spinner for test setup

This commit is contained in:
itsMapleLeaf
2022-08-07 13:01:20 -05:00
parent fd8f85ea89
commit 459cafdff2
3 changed files with 5 additions and 2 deletions

View File

@@ -79,6 +79,7 @@
"dotenv": "^16.0.1",
"lodash-es": "^4.17.21",
"nodemon": "^2.0.19",
"ora": "^6.1.2",
"prettier": "^2.7.1",
"pretty-ms": "^8.0.0",
"react": "^18.2.0",

View File

@@ -1,6 +1,6 @@
import { oraPromise } from "ora"
import { ReacordTester } from "./tester"
export async function setup() {
console.info("Running test setup...")
await ReacordTester.removeChannels()
await oraPromise(ReacordTester.removeChannels(), "Running test setup...")
}