mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-22 09:37:54 +00:00
chore: clenaup unit tests
This commit is contained in:
@@ -43,9 +43,9 @@ describe('SEO', () => {
|
||||
beforeAll(async () => {
|
||||
db = admin.firestore()
|
||||
// Test will only create entries for accepted howtos and research
|
||||
for (const doc of testDocs) {
|
||||
await db.collection(doc.endpoint).add(doc)
|
||||
}
|
||||
await Promise.all(
|
||||
testDocs.map((doc) => db.collection(doc.endpoint).add(doc)),
|
||||
)
|
||||
})
|
||||
afterAll(firebaseTest.cleanup)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user