Skip to content

Commit c09a0e1

Browse files
committed
Format tests
1 parent adb65b8 commit c09a0e1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

__tests__/collection.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe("Collections", () => {
8282
console.log(updateResults);
8383
await astra.deleteCollection({ name: collectionName });
8484
});
85-
test('should delete one', async () => {
85+
test("should delete one", async () => {
8686
const collectionName = `test${epoch}`;
8787
await astra.createCollection({ name: collectionName });
8888
const insertResults = await astra.collection(collectionName).insertOne({
@@ -91,12 +91,14 @@ describe("Collections", () => {
9191
age: 1,
9292
},
9393
});
94-
const countResults = await astra.collection(collectionName).countDocuments();
94+
const countResults = await astra
95+
.collection(collectionName)
96+
.countDocuments();
9597
expect(countResults.status.count).to.equal(1);
9698
const deleteResults = await astra.collection(collectionName).deleteOne({
9799
filter: {
98100
age: 1,
99-
}
101+
},
100102
});
101103
expect(countResults.status.count).to.equal(0);
102104
await astra.deleteCollection({ name: collectionName });

0 commit comments

Comments
 (0)