File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ describe("Collections", () => {
82
82
console . log ( updateResults ) ;
83
83
await astra . deleteCollection ( { name : collectionName } ) ;
84
84
} ) ;
85
- test ( ' should delete one' , async ( ) => {
85
+ test ( " should delete one" , async ( ) => {
86
86
const collectionName = `test${ epoch } ` ;
87
87
await astra . createCollection ( { name : collectionName } ) ;
88
88
const insertResults = await astra . collection ( collectionName ) . insertOne ( {
@@ -91,12 +91,14 @@ describe("Collections", () => {
91
91
age : 1 ,
92
92
} ,
93
93
} ) ;
94
- const countResults = await astra . collection ( collectionName ) . countDocuments ( ) ;
94
+ const countResults = await astra
95
+ . collection ( collectionName )
96
+ . countDocuments ( ) ;
95
97
expect ( countResults . status . count ) . to . equal ( 1 ) ;
96
98
const deleteResults = await astra . collection ( collectionName ) . deleteOne ( {
97
99
filter : {
98
100
age : 1 ,
99
- }
101
+ } ,
100
102
} ) ;
101
103
expect ( countResults . status . count ) . to . equal ( 0 ) ;
102
104
await astra . deleteCollection ( { name : collectionName } ) ;
You can’t perform that action at this time.
0 commit comments